1799: 【CSP数组】最大数▅

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:5 Solved:5

Description

n 个数中最大的那个数在哪里?输出其位置,若有多个最大数则都要输出。

Input

第一行: lns="http://www.w3.org/1998/Math/MathML">n ( lns="http://www.w3.org/1998/Math/MathML">3n10) ;

第二行:空格隔开的 lns="http://www.w3.org/1998/Math/MathML">n 个数。

Output

输出若干个数,表示最大数的位置,每行一个。

Sample Input Copy

5
1 2 6 3 6

Sample Output Copy

3
5