#P312. 【例53.1】 最大数位置

【例53.1】 最大数位置

Description

Input nn integers and output the position of the maximum number (n1000n≤1000). If there are multiple maximum values, output the position of the first maximum value from left to right.

Input Format

The first line contains the number of integers nn;
The second line contains nn positive integers, each within 23212^{32}−1.

Output Format

The position of the maximum number.

Sample

5
67 43 90 78 32
3