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

### Instruction:
What was the latest year in which she took 4th position in Budapest, Hungary?

### Inputs:
table_name: table, columns: ['Year', 'Competition', 'Venue', 'Position', 'Performance']

### Response:
SELECT MAX Year FROM table WHERE Position = 4th AND Venue = budapest, hungary