Task: Text to Code
Input (English): select the row whose population ( 2010 census ) record of all rows is 1st maximum . the district record of this row is tondo .
Output (English): eq { hop { nth_argmax { all_rows ; population ( 2010 census ) ; 1 } ; district } ; tondo }