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