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 ralph a gamble .
Output (English): eq { hop { nth_argmax { all_rows ; candidates ; 1 } ; incumbent } ; ralph a gamble }