EasyRating 800
Mixed Drinks
Equal amounts of n drinks are mixed. Drink i is p_i percent orange juice. What percent of the mix is orange juice? Print it with 4 decimal places.
Input
n, then n integers (0 ≤ p_i ≤ 100).
Output
A number with 4 decimals.
Sample 1
Input
3 50 50 100
Output
66.6667
Sample 2
Input
4 0 25 50 75
Output
37.5000
Output appears here