Task: Text to Code
Input (English): select the row whose original air date record of all rows is minimum . the nick prod record of this row is 1001 .
Output (English): eq { hop { argmin { all_rows ; original air date } ; nick prod } ; 1001 }