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