'use strict';
const main = input => {
  const n = parseInt(input[0]);
  const t = parseInt(input[1].split(' ')[0]), a = parseInt(input[1].split(' ')[1]);
  const h = input[2].split(' ').map(val => parseInt(val));
  // console.log(n, t, a, h);
  let min = 10000000, ans = 0;
  h.map((val, id) => {
    if(min > Math.abs(a-(t-val*0.006))) {
      min = Math.abs(a-(t-val*0.006));
      ans = id+1;
    }
  })
  console.log(ans);
  
}
main(require("fs").readFileSync("/dev/stdin", "utf8").split('\n'));