Below is an instruction that describes a task. Write a response that appropriately completes the request.

### Instruction:
How many total team penalties are there when cross country penalties is 30.40?

### Inputs:
table_name: table, columns: ['Nation', 'Rider', 'Horse', 'Cross Country Penalties', 'Total Penalties', 'Total Team Penalties', 'Team Rank']

### Response:
SELECT Total Team Penalties FROM table WHERE Cross Country Penalties = 30.40