1788: 【CSP数组】考试成绩的分布情况▅

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

Description

期末考试结束,小明的语文老师想知道,这次考试的成绩分布情况,主要计算如下几个数据:平均分、lns="http://www.w3.org/1998/Math/MathML"> 平均分的总人数、 lns="http://www.w3.org/1998/Math/MathML">< 平均分的总人数,请你写程序帮助小明的语文老师来计算一下!

Input

第一行,一个整数 lns="http://www.w3.org/1998/Math/MathML">n 代表有 lns="http://www.w3.org/1998/Math/MathML">n 个人的成绩( lns="http://www.w3.org/1998/Math/MathML">n100 );

第二行, lns="http://www.w3.org/1998/Math/MathML">n 个人的语文成绩。

Output

3 个值,分别代表平均分、lns="http://www.w3.org/1998/Math/MathML"> 平均分的总人数、lns="http://www.w3.org/1998/Math/MathML">< 平均分的总人数,请注意,平均分保留 lns="http://www.w3.org/1998/Math/MathML">1 位小数!

Sample Input Copy

5
100 98 97 99 90

Sample Output Copy

96.8 4 1