import std.stdio, std.string, std.array, std.conv, std.algorithm, std.math;

void main(){
	int n = readln.chomp.to!int;
	int[] tmp = readln.chomp.split.map!(to!int).array;
	int t = tmp[0], a = tmp[1];
	int[] hs = readln.chomp.split.map!(to!int).array;
	
	real f(int x){
		return abs(a.to!real - (t.to!real - x.to!real * 0.006));
	}
	
	int i0 = 0;
	real min = f(hs[0]);
	for(int i = 0; i < n; i ++){
		if(f(hs[i]) < min){
			min = f(hs[i]);
			i0 = i;
		}
	}
	
	writeln(i0 + 1);
}
