Task: Text to Code
Input (English): select the row whose notes record of all rows is 3rd maximum . the year record of this row is 2004 .
Output (English): eq { hop { nth_argmax { all_rows ; notes ; 3 } ; year } ; 2004 }