import java.util.Scanner

object Main extends App {
  val sc = new Scanner(System.in)
  val n, t, a = sc.nextInt()
  val h: IndexedSeq[Double] = for (_ <- 1 to n) yield sc.nextDouble()
  val ans = h.zipWithIndex.minBy {
    case (x, _) => ((t - x * 0.006) - a ).abs
  }._2 + 1
  println(ans)
}
