Task: Text to Code
Input (English): select the row whose score record of all rows is maximum . the team 1 record of this row is ogc nice ( d1 ) .
Output (English): eq { hop { argmax { all_rows ; score } ; team 1 } ; ogc nice ( d1 ) }