function Main(input) {
  var inputs = input.split("\n");
  var t_a = inputs[1].split(" ").map(e => parseInt(e, 10));
  var h = inputs[2].split(" ").map(e => Math.abs(t_a[1] - (t_a[0] - parseInt(e, 10) * 0.006)));
  var ans = h.indexOf(Math.min(...h)) + 1;
  console.log(ans);
}

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