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