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