N = gets.to_i
(t, a) = gets.split(/ /).map(&:to_i)
H = gets.split(/ /).map(&:to_i)

min = 99999999.9999
minX = nil

H.each_with_index do |x, i|
  b = ((t - x * 0.006) - a).abs
  if b < min
    min = b
    minX = i
  end
end

p minX + 1