import java.util.*

fun main(args: Array<String>) {
    val mod = 1000000007L
    val N = readLine()!!.toInt()
    val (T,A) = readLine()!!.split(" ").map { it.toInt() }
    val H = readLine()!!.split(" ").map { it.toInt() }.toList()
//    val N = readLine()!!.toInt()

    var ans = -1
    var min = 1000000.0

    for ((i,h) in H.withIndex()) {
        val tmp = Math.abs(T-h*0.006 - A)
        if (min > tmp) {
            min = tmp
            ans = i
        }
    }

    println(ans+1)
}