Type: Default 1000ms 256MiB

均值

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

描述

给出一组样本数据,计算其均值。

输入

输入有两行,第一行包含一个整数n(n小于100),代表样本容量;第二行包含n个绝对值不超过1000的浮点数,代表各个样本数据。

输出

输出一行,包含一个浮点数,表示均值,精确到小数点后4位。

样例输入

2
1.0 3.0

样例输出

2.0000

专项训练之循环结构

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
10
Start at
2023-8-2 9:30
End at
2023-8-19 1:30
Duration
400 hour(s)
Host
Partic.
12