N = gets.to_i
T, A = gets.split.map(&:to_i)
hs = gets.split.map(&:to_i)

diff = 1e9
ans = 0
N.times do |i|
    d = (T-hs[i]*0.006 - A).abs
    if diff > d
        diff = d
        ans = i+1
    end
end
puts ans
