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