Task: Text to Code
Input (English): select the row whose catches record of all rows is 2nd maximum . the player record of this row is adam gilchrist .
Output (English): eq { hop { nth_argmax { all_rows ; catches ; 2 } ; player } ; adam gilchrist }