Write a program that reads an array of ints and finds the index of the first maximum in that array.
Input data format
The first line contains the number of elements in the array.
The second line contains the array elements separated by spaces.
An array always has at least one element.
Output data format
Only a single integer value: the index of the first maximum.