Task: Text to Code
Input (English): select the row whose distance record of all rows is 1st maximum . the race record of this row is mercedes classic .
Output (English): eq { hop { nth_argmax { all_rows ; distance ; 1 } ; race } ; mercedes classic }