implicit none
integer:: n, i, j, a, b, ans, t
integer,allocatable,dimension(:):: p

read(5,*) n, a, b
allocate(p(n))
read(5,*) (p(i),i=1,n)

ans = 0
t = 1000000
do i = 1, n
    if ( t > abs(b - a + 0.006 * p(i)) ) then
        ans = i
        t = abs(b - a + 0.006 * p(i))
    endif
enddo
    


write(6, *) ans

end