
object Main extends App {

  import scala.io.StdIn._

  val n = readLine.trim.toInt
  val Array(t, a) = readLine.trim.split(' ').map(_.toInt)
  val heights = readLine.trim.split(' ').map(_.toInt)
  println(
    (0 until n).minBy{it ⇒ (t - heights(it) * 0.006 - a).abs} + 1
  )
  implicit class ScopeFunc[T](val value: T) {
    def let[A](func: T ⇒ A): A = func(value)
    def also(func: T ⇒ Unit): T = {
      func(value)
      value
    }
  }
}

/*
 */