Task: Text to Code
Input (English): select the row whose position record of all rows is 2nd maximum . the year record of this row is 1987 .
Output (English): eq { hop { nth_argmax { all_rows ; position ; 2 } ; year } ; 1987 }