Task: Text to Code
Input (English): eq { hop { nth_argmax { all_rows ; total ; 2 } ; athlete } ; monica pinette }
Output (English): ordinal