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