Problem4019--【入门】找找谁的身高超过全家的平均身高

4019: 【入门】找找谁的身高超过全家的平均身高

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MB

Submit

Description

找找谁的身高超过全家的平均身高。全家n口人,输入输出数据如下: (平均身高保留一位小数)

Input

第一行有一个整数n( 1 < n < 11 )。第二行是n个整数,用空格隔开。

Output

第一行为全家的平均身高(保留一位小数);第二行有若干个数,为超过平均身高的人的身高厘米数。

Sample Input Copy

7
175 160 172 158 178 162 142

Sample Output Copy

163.9
175 172 178 

Source/Category