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