N = gets.to_i

D = gets.chomp.split.map(&:to_i)

F = gets.chomp.split.map(&:to_i)

i = 0

result = 10000000000000000000000000000000

is = 0

while i < N
	if D[1] - (D[0]-0.006*F[i]) > 0
		if result > D[1] - (D[0]-0.006*F[i])
			result = D[1] - (D[0]-0.006*F[i])
			is = i
		end
	else
		if result > (D[0]-0.006*F[i]) - D[1]
			result = (D[0]-0.006*F[i]) - D[1]
			is = i
		end
	end
	i += 1
end
puts is+1