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