#1132. 平均年龄
平均年龄
Background
题目描述 新学期开学了,学校要统计各班同学的年龄,小萱萱班上有若干名学生,现在给出每名学生的年龄(整数),要统计班上所有学生的平均年龄(四舍五入取整)。
Description
Given two integers x and y, print the sum.
Format
Input
第一行:一个整数n表示学生的人数。
第二行至第n+1行:每行有1个整数,表示每个学生的年龄。
Output
第一行,该行包含一个整数,为要求的平均年龄(四舍五入取整)。
Samples
2
8
10
9
Limitation
1s, 1024KiB for each test case.