Problem3149--最大数位置

3149: 最大数位置

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MiB

Description

输入n个整数,存放在数组a[1]至a[n]中,输出最大数所在位置(n≤1000)

Input

第一行,数的个数n;

第二行,n个正整数,每个数在2的32次方-1之内

Output

最大数所在位置

Sample Input Copy

5
67 43 90 78 32

Sample Output Copy

3

Source/Category

数组