Task: Text to Code
Input (English): select the row whose crime record of all rows is 2nd maximum . the character record of this row is shane casey .
Output (English): eq { hop { nth_argmax { all_rows ; crime ; 2 } ; character } ; shane casey }