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

/**
 * ABC113B
 */
object Main extends App {

  readLine()
  val in = readLine().split(" ").toSeq
  val t = in(0).toInt
  val a = in(1).toInt
  val h: Seq[Int] = readLine().split(" ").toSeq.map(_.toInt).toSeq

  val hdiff = h.map(v => abs(t - v * 0.006 - a)).toIndexedSeq

  val ans = hdiff.indexWhere(_ == hdiff.min) + 1

  println(ans)
}


    