'use strict';

function Main(input) {
  const N = Number(input.split("\n")[0]);
  const T = Number(input.split("\n")[1].split(" ")[0]);
  const A = Number(input.split("\n")[1].split(" ")[1]);
  const Hs = input.split("\n")[2].split(" ").map(x => Number(x));
  let Temps = [];

  for(let val of Hs) {
    Temps.push(Math.abs(A - (T - val*0.006)));
  }

  const min = Math.min.apply(null, Temps);

  console.log(Temps.indexOf(min) + 1);

};

Main(require("fs").readFileSync("/dev/stdin", "utf8").trim());
