The largest element of the array#113

The largest element of the array

1 second
64 megabytes
Very easy (≈850)

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

Input

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

Output

Output the largest integer in the array.

Examples

Example 1

Loading
Loading