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