Task: Text to Code
Input (English): select the row whose total finals record of all rows is maximum . the clubs record of this row is primeiro de agosto .
Output (English): eq { hop { argmax { all_rows ; total finals } ; clubs } ; primeiro de agosto }