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

### Instruction:
What shows for miles [One Way] when the fans took 340?

### Inputs:
table_name: table, columns: ['Team', 'Miles [One Way]', 'Home Result', 'Fans Brought', 'Away Result', 'Fans Took', 'Points Gained']

### Response:
SELECT AVG Miles [One Way] FROM table WHERE Fans Took = 340