import java.util.Scanner

import scala.io.StdIn
import scala.math._

object Main {
  def main(args: Array[String]): Unit ={
//    val N = StdIn.readLine.toInt

    val sc = new Scanner(System.in)
    val N = sc.nextInt
    val T = sc.nextInt
    val A = sc.nextInt
    val hs = List.fill(N)(sc.nextInt)


    def tempature(x: Int): Double = T - x * 0.006

    val tuple = hs.zipWithIndex.map{case (h,i) => (abs( tempature(h) - A),i)}

    // tupleの大小は、_1 => _2 となる
    println(tuple.min._2 + 1)
  }
}
