function main(input) {
  const args = input.split('\n');
  const ary2 = args[1].split(' ').map(n => parseInt(n, 10));
  const N = parseInt(args[0], 10); //候補地数
  const T = ary2[0]; //気温求めるパラメータ
  const A = ary2[1]; //理想気温
  const ary = args[2].split(' ').map(n => parseInt(n, 10));
  let min_gap; //理想気温に最も近い気温
  let idx; //敵地番号
  
  for (let i = 0; i < ary.length; i++) {
    ave = T - (ary[i] * 0.006); //平均気温
    gap = Math.abs(A - ave);
    if (!min_gap || min_gap > gap) {
      min_gap = gap;
      idx = i + 1; // 帳尻合わせ
    }
  }
  
  console.log(idx);
}

main(require('fs').readFileSync('/dev/stdin', 'utf8'));