Task: Text to Code
Input (English): select the row whose candidates record of all rows is 1st maximum . the incumbent record of this row is tom barrett .
Output (English): eq { hop { nth_argmax { all_rows ; candidates ; 1 } ; incumbent } ; tom barrett }