Task: Text to Code
Input (English): select the row whose location / attendance record of all rows is 1st maximum . the opponent record of this row is new york .
Output (English): eq { hop { nth_argmax { all_rows ; location / attendance ; 1 } ; opponent } ; new york }