import numpy as np

def main():

    N = int(eval(input()))

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

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

    for i in range(N):

        H[i] = T- H[i] * 0.006

    

    print((np.abs(np.asarray(H) - A).argmin()+1))

if __name__ == '__main__':

    main()
def main():

    N = int(eval(input()))

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

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

    for i in range(N):

        H[i] = abs(A - (T- H[i] * 0.006))

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

    

if __name__ == '__main__':

    main()
import numpy as np


def main():
    N = int(eval(input()))
    T, A = list(map(int, input().split()))
    H = list(map(int, input().split()))
    for i in range(N):
        H[i] = T - H[i] * 0.006
    print((np.abs(np.asarray(H) - A).argmin() + 1))


if __name__ == "__main__":
    main()

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


if __name__ == "__main__":
    main()

-import numpy as np - - -        H[i] = T - H[i] * 0.006 -    print((np.abs(np.asarray(H) - A).argmin() + 1)) +        H[i] = abs(A - (T - H[i] * 0.006)) +    print((H.index(min(H)) + 1))