Problem2845--桶计数-身高统计1

2845: 桶计数-身高统计1

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 143  Solved: 78
[Status] [Submit] [Creator:]

Description

为了解中学生的身高情况,对某高中同龄的n名男生的身高进行了测量,结果如下(单位:cm):

(n<=1000)
1.最高的人是多少身高?
2.最低的人是多少身高?

注意输出格式

Output


Sample Input Copy

50
175 168 170 176 167 181 162 173 171 177 
171 171 174 173 174 175 177 166 163 160
166 166 163 169 174 165 175 165 170 158
174 172 166 172 167 172 175 161 173 167
170 172 165 157 172 173 166 177 169 181

Sample Output Copy

最高的人=181cm
最低的人=157cm

Source/Category