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