Write a program that reads a list of integers and finds the index of the first maximum in the list. In the other words, find the maximum in the list and output the index of its first occurrence.
The first line contains the number of elements in the list. The other lines contain the elements of the list. There is at least one element in the list.
Output a single integer value, which is the index of the first maximum.