import scala.io.StdIn._

object Main extends App {
  val n: Int = readInt()
  val Array(t, a) = readLine().split(' ').map(_.toInt)
  val hs = readLine().split(' ').map(_.toInt).toList
  
  val result = hs.zipWithIndex.map { case (h, i) =>
    val temperature = t - h * 0.006
    ((temperature - a).abs, i + 1)
  }.min
  println(result._2)
}