1287: 均值

Memory Limit:256 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:140 Solved:50

Description

给出一组样本数据,包含n个浮点数,计算其均值,精确到小数点后4位。(要求,用单精度来定义即float)

Input

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

Output

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

Sample Input Copy

2
1.0 3.0

Sample Output Copy

2.0000