Task: Text to Code
Input (English): select the row whose difference record of all rows is 2nd maximum . the team record of this row is americano - sp .
Output (English): eq { hop { nth_argmax { all_rows ; difference ; 2 } ; team } ; americano - sp }