const main = stdin => {
  const input = stdin.trim().split('\n')
  const N = parseInt(input[0])
  const [T, A] = input[1].split(' ').map(x => parseInt(x))
  const Hs = input[2].split(' ').map(x => parseInt(x))

  let min = 99999999
  let minIdx = -1
  for (let i = 0; i < N; i++) {
    const temp = T - Hs[i] * 0.006
    const diff = Math.abs(A - temp)
    if (diff < min) {
      min = diff
      minIdx = i
    }
  }

  console.log(minIdx + 1)
}
// 標準入力
main(require("fs").readFileSync("/dev/stdin", "utf8"))
