Task: Text to Code
Input (English): eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; date } ; october 1 , 1989 }
Output (English): ordinal