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

### Instruction:
what was the attendance at the home venue with result w 3-1?

### Inputs:
table_name: table, columns: ['Date', 'Opponent', 'Venue', 'Result', 'Attendance']

### Response:
SELECT MAX Attendance FROM table WHERE Venue = home AND Result = w 3-1