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

找找谁的身高超过全家的平均身高。

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

Input

第一行有一个整数 n ( 1 < n < 11 )。

第二行是 n 个整数,用空格隔开。

Output

第一行为全家的平均身高(保留一位小数);

第二行有若干个数,为超过平均身高的人的身高厘米数。

Examples

Input

7
175 160 172 158 178 162 142

Output

AVE=163.9
1:175 3:172 5:178

Source

数组问题

Time Limit 1 second
Memory Limit 128 MB
Discuss Stats
上一题 下一题