#CCBCHBAHAI0000141. Trung bình 10 số thực (Average of Ten Real Numbers)
Trung bình 10 số thực (Average of Ten Real Numbers)
Average of Ten Real Numbers
Source: Programming in C
Version: Phuoc Hung OJ Extended
Problem Statement
You are given exactly real numbers . Compute their arithmetic mean:
The result is judged using floating-point tolerance.
Input
One line contains exactly real numbers .
Output
Print one real number equal to . The answer is accepted if its absolute or relative error does not exceed .
Subtasks
Subtask 1 (100 points): ; each input value has at most digits after the decimal point.
Examples
Input
1 2 3 4 5 6 7 8 9 10
Output
5.500000
Explanation
The sum is . There are exactly values, so the mean is . Therefore 5.500000 is a valid output.