
n = gets.to_i
t,a = gets.split.map{|x| x.to_i}
h = gets.split.map{|x| x.to_i}

#print "n:#{n} t:#{t} a:#{a}\n"
#print h
#print "\n"

mindif = 99999.9
suf = -1
for i in 0...h.size
  temp = t - 0.006 * h[i]
  dif = (temp - a).abs
  #print "temp:#{temp} dif:#{dif} min:#{mindif}\n"
  if dif < mindif
    mindif =  dif
    suf = i
    #print "set to #{dif}@#{suf}\n"
  end
end
print (suf+1)
