An array of integers is given. Print the value of the largest element, followed by its index in the array. Indexing starts from . If there are multiple largest elements, print the index of the first one.
The first line contains one single integer n~(n \le 100) — the number of elements in the array. The second line contains integers, each with an absolute value not exceeding .
Print the value of the largest element and its index in the array.
Ejemplo 1