function main(input) {
  let inputs = input.split(/\n/);
  let args = inputs[2].split(/\s/);
  let minDifference;
  let result;
  let tempretures = [];
  for (let i = 0;i < inputs[0];i++) {
    tempretures[i] = inputs[1].split(' ')[0] - args[i] * 0.006;
    if (minDifference === undefined) {
      minDifference = Math.abs(inputs[1].split(' ')[1] - tempretures[i]);
    }
    if (Math.abs(inputs[1].split(' ')[1] - tempretures[i]) <= minDifference) {
      minDifference = Math.abs(inputs[1].split(' ')[1] - tempretures[i]);
      result = i;
    }
  }
  console.log(result + 1);
}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));