Task: Text to Code
Input (English): select the row whose bronze record of all rows is maximum . the nation record of this row is spain .
Output (English): eq { hop { argmax { all_rows ; bronze } ; nation } ; spain }