Task: Text to Code
Input (English): select the row whose pts record of all rows is 4th maximum . the year record of this row is 1986 .
Output (English): eq { hop { nth_argmax { all_rows ; pts ; 4 } ; year } ; 1986 }