Task: Text to Code
Input (English): select the row whose date record of all rows is minimum . the location attendance record of this row is energysolutions arena 18732 .
Output (English): eq { hop { argmin { all_rows ; date } ; location attendance } ; energysolutions arena 18732 }