Task: Text to Code
Input (English): select the row whose attendance record of all rows is 3rd maximum . the date record of this row is october 31 , 1999 .
Output (English): eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; date } ; october 31 , 1999 }