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