Problem2041--【入门】找最小数的位置

2041: 【入门】找最小数的位置

Time Limit: 1.000 Sec  Memory Limit: 128 MB
Submit: 4  Solved: 5
[Submit] [Status] [Web Board] [Creator:][下载测试数据]

Description

从键盘读入若干整数,请问这些数中,最小数是第几个数?

Input

第1行是一个整数n(n<=100)

第2行有n个整数


Output

输出n个数中,最小数是第几个数,如果有多个最小数,请输出第一个出现的最小数的位置。

Sample Input

5
2 1 3 4 1

Sample Output

2

Source/Category


[Submit] [Status]