BeginnerLists2000 ms256 MB
Badge List
Each student has earned practice badges. Given badge counts, print the largest count.
Statement
Each student has earned practice badges. Given badge counts, print the largest count.
Input
The first line contains `n`. The second line contains `n` integers.
Output
Print the maximum badge count.
Constraints
- `1 <= n <= 1000`
Examples
Example 1
Input
5
2 7 4 9 6Output
9The largest value in the list is 9.
Sample runs use visible examples. Full submissions are checked securely on the server, and private test cases are not shown in the browser.