Task: Text to Code
Input (English): the average of the first quarter record of all rows is 305221 .
Output (English): round_eq { avg { all_rows ; first quarter } ; 305221 }