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

### Instruction:
Which Country has a Top Team of jam, and an Edition of 31st?

### Inputs:
table_name: table, columns: ['Edition', 'Year', 'City', 'Country', 'Date', 'No. of Events', 'Top Team']

### Response:
SELECT Country FROM table WHERE Top Team = jam AND Edition = 31st