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

void main() {
    const N = readln.chomp.to!int;
    const tmp = readln.split.to!(int[]);
    const T = tmp[0], A = tmp[1];
    const hs = readln.split.to!(int[]);
    writeln(hs.map!(h => T - h * 0.006).map!(t => abs(A-t)).enumerate.reduce!((a,b) => a.value < b.value ? a : b).index + 1);
}

