Task: Text to Code
Input (English): select the row whose runs record of all rows is 2nd maximum . the batsmen record of this row is mark pettini jason gallian .
Output (English): eq { hop { nth_argmax { all_rows ; runs ; 2 } ; batsmen } ; mark pettini jason gallian }