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