import scala.io.StdIn._

object Main extends App {
  val n         = readInt()
  val Seq(t, a) = readLine().split(" ").map(_.toInt).toSeq
  val h         = readLine().split(" ").map(_.toInt).toSeq

  println(h.zipWithIndex.map { case (i, j) => ((t - i * 0.006 - a).abs, j) }.minBy(_._1)._2 + 1)
}
