function main(arg) {
	arg = arg.split("\n")
	var N = Number(arg[0])
	var _ta = arg[1].split(" ")
	var T = Number(_ta[0])
	var A = Number(_ta[1])
	var H = arg[2].split(" ").map(e => Number(e))
	const k = 0.006

	var result = []
	var result = Math.abs((T - H[0] * k) - A)
	var result_i = 0 

	for (var i = 1; i < H.length; i++) {
		var c = T - H[i] * k

		c = Math.abs(c - A)
		if (c < result) {
			result_i = i
			result = c
		}
	}

	console.log(result_i + 1) 
}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));