Task: Text to Code
Input (English): eq { hop { nth_argmax { all_rows ; candidates ; 1 } ; incumbent } ; pat cannon }
Output (English): ordinal