Task: Text to Code
Input (English): eq { hop { nth_argmax { all_rows ; attendance ; 2 } ; date } ; october 12 , 1947 }
Output (English): ordinal