Task: Text to Code
Input (English): select the rows whose crowd record is less than 10000 . the average of the crowd record of these rows is 7005 .
Output (English): round_eq { avg { filter_less { all_rows ; crowd ; 10000 } ; crowd } ; 7005 }