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