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