Task: Text to Code
Input (English): select the row whose attendance record of all rows is maximum . the date record of this row is 17 .
Output (English): eq { hop { argmax { all_rows ; attendance } ; date } ; 17 }