#Z14104. 最高的分数
最高的分数
Description
Professor Sun's course "Introduction to Computing" has just concluded its midterm exam, and he wants to know the highest score achieved in the exam. Given the large number of students, he believes it would be more convenient to delegate this task to a computer. Can you help Professor Sun solve this problem?
Input Format
The input consists of two lines:
- The first line contains an integer
n(0 ≤ n < 100), representing the number of students who took the exam. - The second line lists the scores of these
nstudents, separated by single spaces. All scores are integers between 0 and 100, inclusive.
Output Format
Output an integer, which is the highest score among the given scores.
5
85 78 90 99 60
99