N = int(input())
T, A = map(int, input().split())
Hs = list(map(int, input().split()))
diff = list(map(lambda x: abs(A - (T - x * 0.006)), Hs))
idx = diff.index(min(diff))
print(idx + 1)

04e92dd53766398c580ddc17d79a9a348af0fe7a
<mask token>

<mask token>
print(idx + 1)

N = int(input())
T, A = map(int, input().split())
Hs = list(map(int, input().split()))
diff = list(map(lambda x: abs(A - (T - x * 0.006)), Hs))
idx = diff.index(min(diff))
print(idx + 1)
