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

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