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 sydney sports ground .
Output (English): eq { hop { nth_argmax { all_rows ; capacity ; 2 } ; stadium } ; sydney sports ground }