1894: Score Statistics

内存限制:128 MB 时间限制:1.000 S
评测方式:文本比较 命题人:
提交:16 解决:8

题目描述

Give you n individual grades. Please write a program to count the highest score, lowest score, and average score of n individuals.

输入

There are several cases entered. The first number of each case is n, and then there are n results.

输出

 Follow the sample output.

样例输入 复制

10
89 95 87.5 100 67.5 97 59 84 73 90
6
90 91 91.5 91.5 89 89

样例输出 复制

max=100.0 min=59.0 average=84.2
max=91.5 min=89.0 average=90.3