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