object Main extends App {
  val _ = readLine

  val (t, a) = readLine.split(" ").map(_.toInt) match {
    case Array(t, a) => (t, a)
  }
  def temp(h: Int) = t - 0.006 * h
  val res = readLine
    .split(" ")
    .map(_.toInt)
    .map(h => math.abs(temp(h) - a))
    .zipWithIndex
    .min(Ordering.fromLessThan[(Double, Int)]((t1, t2) => t1._1 <= t2._1))
    ._2
  println(res + 1)

}