"use strict"
function Main(input) {
  const args = input.split('\n');
  const n = args[0];
  const t = args[1].split(' ')[0];
  const a = args[1].split(' ')[1];
  const h = args[2].split(' ');

  let diff = Number.MAX_VALUE;
  let ret;
  for(let i=0; i<n; ++i) {
    let v = t - h[i]*0.006
    if(diff > a - v) {
      diff = a-v;
      ret = i+1;
    }
  }
  console.log(ret);
}
Main(require('fs').readFileSync('./trg.txt', 'utf8'));