Write a program that reads an array of integers and finds the index of the first maximum in the array.
The first line contains the number of elements in the array. The other lines contain the elements of the array. There is at least one element in the array.
Output a single integer value which is the index of the first maximum.