local N = io.read("n")
local T, A = io.read("n", "n")
local nearest = 1000
local ans = -1
for i=1,N do
    local h = io.read("n")
    local t = T - h * 0.006
    local diff = math.abs(t - A)
    if diff < nearest then
        ans = i
        nearest = diff
    end
end
print(ans)