The largest element of the array#7830

The largest element of the array

1 secundă
64 de megabyți
Foarte ușor

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

Date de intrare

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

Date de ieșire

Output the largest integer in the array.

Exemple

Exemplul 1

Loading
Loading