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