n = int(eval(input()))

ta = input().split()

t = int(ta[0])

a = int(ta[1])

hlist = [int(h) for h in input().split()]





minsub = 999999999999999999999999999999999999999

minidx = None

for i, h in enumerate(hlist):

    temp = t - h * 0.006

    if abs(a - temp) < minsub:

        minsub = abs(a - temp)

        minidx = i





print((minidx + 1))

def intin():

    input_tuple = input().split()

    if len(input_tuple) <= 1:

        return int(input_tuple[0])

    return list(map(int, input_tuple))





def intina():

    return [int(i) for i in input().split()]





def intinl(count):

    return [intin() for _ in range(count)]





n = intin()

t, a = intin()

hlist = intina()



minsub = 999999999999999999999999999999999999999

minidx = None

for i, h in enumerate(hlist):

    temp = t - h * 0.006

    if abs(a - temp) < minsub:

        minsub = abs(a - temp)

        minidx = i



print((minidx + 1))

n = int(eval(input()))
ta = input().split()
t = int(ta[0])
a = int(ta[1])
hlist = [int(h) for h in input().split()]
minsub = 999999999999999999999999999999999999999
minidx = None
for i, h in enumerate(hlist):
    temp = t - h * 0.006
    if abs(a - temp) < minsub:
        minsub = abs(a - temp)
        minidx = i
print((minidx + 1))

def intin():
    input_tuple = input().split()
    if len(input_tuple) <= 1:
        return int(input_tuple[0])
    return list(map(int, input_tuple))


def intina():
    return [int(i) for i in input().split()]


def intinl(count):
    return [intin() for _ in range(count)]


n = intin()
t, a = intin()
hlist = intina()
minsub = 999999999999999999999999999999999999999
minidx = None
for i, h in enumerate(hlist):
    temp = t - h * 0.006
    if abs(a - temp) < minsub:
        minsub = abs(a - temp)
        minidx = i
print((minidx + 1))

-n = int(eval(input())) -ta = input().split() -t = int(ta[0]) -a = int(ta[1]) -hlist = [int(h) for h in input().split()] +def intin(): +    input_tuple = input().split() +    if len(input_tuple) <= 1: +        return int(input_tuple[0]) +    return list(map(int, input_tuple)) + + +def intina(): +    return [int(i) for i in input().split()] + + +def intinl(count): +    return [intin() for _ in range(count)] + + +n = intin() +t, a = intin() +hlist = intina()