Problem2520--平均天数

2520: 平均天数

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 10  Solved: 9
[Status] [Submit] [Creator:]

Description

输入n个年份,输出它们的平均天数。(闰年一年366天,平年一年365天。)

Input

第一行输入一个整数n,表示需要输入的年份的个数。
接下来n行,每一行一个整数,表示年份。


Output

输出只有 1 行,即平均天数(保留两位小数)。

Sample Input Copy

3
2000
2001
2002

Sample Output Copy

365.33

HINT

循环的灵活应用

Source/Category