human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Tournament, 1983, 1984, 1985, 1986, 1987, 1988, 1989, 1990, Career SR, Career Win-Loss
###Question: What is the 1987 results when the results of 1989 is 3R, and the 1986 results is F?
gpt
SELECT 1987 FROM table WHERE 1989 = 3r AND 1986 = f