Task: Text to Code
Input (English): select the row whose attendance / g record of all rows is minimum . the season record of this row is 2007 .
Output (English): eq { hop { argmin { all_rows ; attendance / g } ; season } ; 2007 }