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