Task: Text to Code
Input (English): select the row whose gross capacity record of all rows is 3rd maximum . the unit record of this row is hamaoka - 3 .
Output (English): eq { hop { nth_argmax { all_rows ; gross capacity ; 3 } ; unit } ; hamaoka - 3 }