import numpy as np

N = int(eval(input()))



T, A = list(map(int, input().split()))



*H, = list(map(int,input().split()))



m   = [abs(A-(T-h*0.006)) for h in H]

print((m.index(min(m))+1))
N = int(eval(input()))

T,A = list(map(int, input().split()))

*H, = list(map(int, input().split()))



ans = 100000000

index = 0



for i in range(len(H)):

    temp = T-H[i]*0.006



    if abs(A-temp)<ans:

        ans = abs(A-temp)

        index = i





print((index+1))
import numpy as np

N = int(eval(input()))
T, A = list(map(int, input().split()))
(*H,) = list(map(int, input().split()))
m = [abs(A - (T - h * 0.006)) for h in H]
print((m.index(min(m)) + 1))

N = int(eval(input()))
T, A = list(map(int, input().split()))
(*H,) = list(map(int, input().split()))
ans = 100000000
index = 0
for i in range(len(H)):
    temp = T - H[i] * 0.006
    if abs(A - temp) < ans:
        ans = abs(A - temp)
        index = i
print((index + 1))

-import numpy as np - -m = [abs(A - (T - h * 0.006)) for h in H] -print((m.index(min(m)) + 1)) +ans = 100000000 +index = 0 +for i in range(len(H)): +    temp = T - H[i] * 0.006 +    if abs(A - temp) < ans: +        ans = abs(A - temp) +        index = i +print((index + 1))