The largest element of the array#7830

The largest element of the array

1 second
64 megabytes
Very easy (≈850)

Given an array of integers, your task is to find the largest element in the array.

Input

The first line contains the integer , representing the number of elements in the array. The second line contains integers, each not exceeding .

Output

Output the largest integer in the array.

Examples

Example 1

Loading
Loading