1787: 【CSP数组】找找谁的身高超过全家的平均身高▅

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:8 Solved:5

Description

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

全家 lns="http://www.w3.org/1998/Math/MathML">n 口人,输入输出数据如下: (平均身高保留一位小数)。

Input

第一行有一个整数 lns="http://www.w3.org/1998/Math/MathML">n ( lns="http://www.w3.org/1998/Math/MathML">1<n<11 );

第二行是 lns="http://www.w3.org/1998/Math/MathML">n 个整数,用空格隔开。

Output

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

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

Sample Input Copy

5
172 168 169 171 173

Sample Output Copy

AVE=170.6
1:172 4:171 5:173