'use strict'

const main = input => {
	const args = input.trim().split('\n').map(t1 => t1.split(' ').map(t2 => parseInt(t2, 10)))
	const N = args[0][0]  // 候補の数
	const T = args[1][0]
	const A = args[1][1]  // ここに最も近い
	const H = args[2]
	let min = Math.abs((50 - 10 ** 5 * 0.006) - 50)
	let index = -1
	
	for (let i = 0; i < N; i++) {
		const avg = T - H[i] * 0.006
		const t1 = Math.abs(avg - A)
		if (t1 < min) {
			min = t1
			index = i
		}
	}

	console.log(index + 1)
}

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