Problem1170--【入门】最大数

1170: 【入门】最大数

Time Limit: 1.000 Sec  Memory Limit: 16 MB
Submit: 29  Solved: 28
[Submit] [Status] [Web Board] [Creator:][下载测试数据]

Description

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

Input

第一行:n( 3 <= n <= 10) 第二行:空格隔开的n个数

Output

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

Sample Input

5
1 2 6 3 6

Sample Output

3
5

Source/Category


[Submit] [Status]