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[]);
	writeln( 1 + minIndex( N.iota.map!(n => (T.to!real - H[n].to!real*0.006 - A).abs) ) );
}