Problem Description

Print the maximum value in the array.

Input Format

First n. Next line n integers.

Output Format

One integer max.

Sample Test Case

Input:
4 -5 2 9 1
Output:
9

Constraints

n >= 1.

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next