Олимпиадный тренинг

Задача 29444. Last oldest


The array stores information about the year of birth of each of N people. Determine the sequence number of the last oldest person. 

Input
The first line contains the number N - the number of people (0<N<=50). The second line contains the year of birth of N people (N numbers, each number is positive, not more than 105).< br />
Imprint
Print the number of the last oldest person.
 
Examples
# Input Output
1 5
1904 1903 1905 1905 1903
5