10986: 求N个同学的总分和平均分

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:1 Solved:0

Description

输入N个同学的某一次成绩,求出他们的总分和平均分

Input

2行,第一行N,表示有N个同学,接下 表示N个同学的成绩

Output

两行,分别表示总分和平均分,其中平均分保留2位小数。

Sample Input Copy

2
80 90

Sample Output Copy

170
85.00