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

### Instruction:
What was the 1987 result for the tournament with 1986 result of 3R and 1989 of A?

### Inputs:
table_name: table, columns: ['Tournament', '1983', '1984', '1985', '1986', '1987', '1988', '1989', '1990', 'Career SR']

### Response:
SELECT 1987 FROM table WHERE 1989 = a AND 1986 = 3r