import std.stdio, std.string, std.conv;
import std.typecons;
import std.algorithm, std.array, std.range, std.container;
import std.math;

void main() {
	auto N = readln.split[0].to!int;
	auto data = readln.split, T = data[0].to!int, A = data[1].to!int;
	auto H = readln.split.to!(int[]);
	
	auto diff = N.iota.map!(n => (T.to!real - H[n].to!real*0.006 - A).abs );
	ulong result = 0;
	N.iota.each!(x => diff[x] < diff[result] ? result = x : 0);
	(1+result).writeln;
}