import java.util.*

val sc = Scanner(System.`in`)
val N = sc.nextInt()
val T = sc.nextInt()
val A = sc.nextInt()

fun main(args: Array<String>) {
    var key = 0
    var value = Double.MAX_VALUE

    for (i in 1..N) {
        val h = sc.nextInt()
        val tmp = Math.abs(A - (T - h * 0.006))
        if (value > tmp) {
            key = i
            value = tmp
        }
    }
    println(key)
}
