object Main{
  
  def main(args:Array[String]):Unit={
    var N = readInt
    var TA = readLine.split(" ").map(x => x.toInt)
    var nums = readLine.split(" ").map(x => x.toInt)
    var resValue:Double = 0
    var resPlace = 0
    for(i <- 0 until N){
       var tmp = scala.math.abs(scala.math.abs(TA(0)-nums(i)*0.006)-TA(1))
      if(resValue>tmp){
        resValue = tmp
        resPlace = i
      }
    }
    println(resPlace+1)
  }
}