function Main(input){
  input = input.split("\n");
	var T = Number(input[1].split(" ")[0]);
	var A = Number(input[1].split(" ")[1]);
	var H = input[2].split(" ").map((a)=>Number(a));
  var log = [5000000,0];
  for(var i=0;i<H.length;i++){
    var tmp=Math.abs((T-H[i]*0.006)-A);
    if(tmp<log[0]){
      log=[tmp,i+1];
    }
  }

  console.log(log[1]);
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));