import std.stdio;
import std.string;
import std.conv;
import std.typecons;
import std.algorithm;
import std.functional;
import std.bigint;
import std.numeric;
import std.array;
import std.math;
import std.range;
import std.container;
import std.ascii;

void main(){
	auto N = readln.chomp.to!int;
	auto tanda = readln.split.to!(int[]);
	auto T = tanda[0];
	auto ideal = tanda[1];
	auto H = readln.split.to!(int[]);
	real X = real.max;
	int count;
	int result;

	foreach(i; H){
		count++;
		auto difference = abs(T - i * 0.006 - ideal);
		if(difference < X){
			X = difference;
			result = count;
		}
	}
	writeln(result);
}

//writeln("滲み出す混濁の紋章　不遜なる狂気の器　湧き上がり　否定し　痺れ　瞬き　眠りを妨げる　爬行する鉄の王女　絶えず自壊する泥の人形　結合せよ　反発せよ　地に満ち己の無力を知れ　破道の九十　黒棺")