object Main extends App {
	val n = scala.io.StdIn.readInt
	val Array(t, a) = scala.io.StdIn.readLine.split(" ").map(_.toInt)
	val h = scala.io.StdIn.readLine.split(" ").map(_.toDouble).map{z => t - z*0.006}

	println(h.indexOf(h.max) + 1)
} 
