Task: Text to Code
Input (English): eq { hop { nth_argmax { all_rows ; swing to gain ; 3 } ; constituency } ; ayr }
Output (English): ordinal