Task: Text to Code
Input (English): select the row whose caps record of all rows is 3rd maximum . the player record of this row is kyle beckerman .
Output (English): eq { hop { nth_argmax { all_rows ; caps ; 3 } ; player } ; kyle beckerman }