fun main(args:Array<String>) {
	val n = readLine()!!.toInt()
	val (t,a) = readLine()!!.split(" ").map{ it.toInt() }
	readLine()!!.split(" ").map{ it.toInt() }
			.mapIndexed{ i,it-> Pair(i+1, Math.abs(t-it*0.006-a) )}
			.minBy{ it.second }!!
			.let{ println(it.first) }
}