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