# https://abc113.contest.atcoder.jp/tasks/abc113_b

candidate_count = gets.chomp.to_i
temp = gets.chomp.split(" ").map{|x| x.to_i}
average_temperature = temp[0]
comparison_temperature = temp[1]
abs_temperature = gets.chomp.split(" ").map{|x| ((average_temperature - x.to_i * 0.006)-comparison_temperature).abs}

min = Float::INFINITY

remenber_min_candidate = 0

(abs_temperature.length).times do |i| 
    if abs_temperature[i] < min
        min = abs_temperature[i]
        remenber_min_candidate = i+1
    end
end

puts remenber_min_candidate