2810: 练26.3 求平均年龄

Memory Limit:64 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:Imported
Submit:72 Solved:52

Description

班上有学生若干名,给出每名学生的年龄(整数),求班上所有学生的平均年龄,保留到小数点后两位。

Input

第一行有一个整数n1lenle100),表示学生的人数。其后n行每行有1个整数,表示每个学生的年龄,取值为1525

Output

输出一行,该行包含一个浮点数,为要求的平均年龄,保留到小数点后两位。

Sample Input Copy

2
18
17

Sample Output Copy

17.50