Task: Text to Code
Input (English): select the row whose attendance record of all rows is 1st maximum . the acc team record of this row is 4 duke .
Output (English): eq { hop { nth_argmax { all_rows ; attendance ; 1 } ; acc team } ; 4 duke }