Maximum

Just Intra University Con...
Limits 1s, 512 MB

Given $N$ numbers, find the one that is of the highest value and print it.

Input

The first line of the input will contain $N$ ($0 < N < 100$).

The following line will contain $N$ integers, each between $1$ and $1000$.

Output

Print the maximum.

Sample

InputOutput
3
4 2 7
7

Submit

Login to submit.

Statistics

91% Solution Ratio
raselrokyEarliest, Nov '18
raselrokyFastest, 0.0s
Jinia_YesminLightest, 0 B
saitotaShortest, 25B
Toph uses cookies. By continuing you agree to our Cookie Policy.