n = gets.to_i
h,idealAverT = gets.chomp.split(" ").map(&:to_f)
averT = -1
index = -1
diffValue = 0.0
heightArrays = gets.split(" ").map(&:to_f)
heightArrays.each_with_index do |value, count|
  tempH = value
  tempAverT = h -  tempH * 0.006
  tempdiffValue = (idealAverT + tempAverT * -1.0).abs
  if count == 0 || diffValue > tempdiffValue
    index = count + 1
    diffValue = tempdiffValue
  end
end
puts index
