#Z14102. 均值
均值
Description
Given a set of sample data containing n floating-point numbers, calculate the mean value, accurate to 4 decimal places.
Input Format
The input consists of two lines:
- The first line contains an integer n (n < 100), representing the sample size.
- The second line contains n floating-point numbers with absolute values not exceeding 1000, representing the individual sample data points.
Output Format
Output a single line containing a floating-point number, representing the mean value, accurate to 4 decimal places.
2
1.0 3.0
2.0000