1179 平均数


Submit solution

Points: 100
Time limit: 1.0s
Memory limit: 32M

Problem types
Allowed languages
C, C++, Java, Python

Description

求若干个整数的平均数。

Input

输入数据含有不多于5组的数据,每组数据由一个整数n(n≤50)打头,表示后面跟着n个整数。

Output

对于每组数据,输出其平均数,精确到小数点后3位,每个平均数应占单独一行。

Sample

Input

3 6 5 18 
4 1 2 3 4

Output

9.667
2.500

Source: qianneng


Comments

There are no comments at the moment.