import java.util.Scanner
import scala.math._

object Main {
  def main(args: Array[String]): Unit = {
    val sc = new Scanner(System.in)
    val writer = new java.io.PrintWriter(System.out)
    writer.println(solve(sc))
    writer.flush()
  }

  case class Place(number: Int, altitude: Int)

  def solve(sc: Scanner): String = {
    val n = sc.nextInt()
    val (t, a) = (sc.nextInt(), sc.nextInt())
    val places = Vector.fill(n)(sc.nextInt()).zipWithIndex.map { case (h, i) => Place(i + 1, h) }
    debug(n, t, a, places)

    places.map { place =>
      val temperature = t - place.altitude * 0.006
      (place, abs(a - temperature))
    }.minBy(_._2)._1.number.toString
  }

  private def debug(x: Any): Unit = {
    if (System.getenv("LOCAL_DEBUG") != null) println(x)
  }
}
