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