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