Task: Text to Code
Input (English): select the row whose vessels record of all rows is 2nd maximum . the ship name record of this row is theofilos .
Output (English): eq { hop { nth_argmax { all_rows ; vessels ; 2 } ; ship name } ; theofilos }