Task: Text to Code
Input (English): eq { hop { nth_argmax { all_rows ; attendance ; 1 } ; acc team } ; 4 duke }
Output (English): ordinal