Task: Text to Code
Input (English): select the rows whose bronze record is equal to 2 . select the row whose gold record of these rows is 1st maximum . the rank record of this row is 4 .
Output (English): eq { hop { nth_argmax { filter_eq { all_rows ; bronze ; 2 } ; gold ; 1 } ; rank } ; 4 }