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

Задача 29440. Last fastest


The array stores information about the maximum speed of each of the N brands of passenger cars. Determine the serial number of the last met car with the highest speed.

Input
The first line contains the number N - the number of cars (0<N<=50). The second line contains the speeds of N cars (N numbers, each number is positive, not more than 105).< br />
Imprint
Print the number of the last met car with the highest speed.
 
Examples
# Input Output
1 5
4 3 5 5 3
4