Problem:

Min Element

数列a_1,a_2,..,a_Nが与えられます。

この数列の最小値の番号を求めてください。

最小値が複数の場所にあるときは、番号の最も小さいものを答えてください。

入力

N
a_1 a_2...a_N

出力

a_iが数列の最小値となるようなiのうち、最も小さいものを出力せよ。

制約

  
1 \leq N \leq 10^5 

  
1 \leq a_i \leq 10^9

入力例

6
8 6 9 1 2 1

出力例

4



Sample input:
6
8 6 9 1 2 1


Sample output:
4

Submission status: Accepted

Solution code:
n = int(input())
a = list(map(int,input().split()))
print(a.index(min(a)) + 1)

Submission status: Accepted

Solution code:
N = int(input())
a = [int(x) for x in input().split()]

print(a.index(min(a)) + 1)

Submission status: Accepted

Solution code:
n = int(input())
a = list(map(int, input().split()))
print(a.index(min(a)) + 1)

Submission status: Accepted

Solution code:
N = int(input())
a = list(map(int,input().split()))
num = min(a)

for i in range(N):
  if a[i] == num:
    print(i+1)
    exit()

Submission status: Accepted

Solution code:
N = int(input())
a = list(map(int, input().split()))
mina = min(a)
ans = a.index(mina)
print(ans + 1)

Submission status: Accepted

Solution code:
n = int(input())
l = list(map(int, input().split()))
m = 100000000000000000
index = int()
for i in range(n):
    if m > l[i]:
        m = l[i]
        index = i
print(index+ 1)

Submission status: Accepted

Solution code:
def num():
    return int(input())
def nums():
    return list(map(int,input().split()))

N = num()
A = nums()
print(A.index(min(A))+1)