1815: 【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">5 名同学的平均分是多少,请你编程来帮老师计算一下!

Input

第一行,一个整数 lns="http://www.w3.org/1998/Math/MathML">n ,代表本次考试的总人数( lns="http://www.w3.org/1998/Math/MathML">5n100 );

第二行 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">n 个人的分数是无序的)。

Output

语文成绩前 lns="http://www.w3.org/1998/Math/MathML">5 名同学的平均分(结果保留 lns="http://www.w3.org/1998/Math/MathML">1 位小数)。

Sample Input Copy

10
98 98 100 96 99 90 91 87 80 100

Sample Output Copy

99.0