n, x, y = map(int, input().split())
arr = list(map(int, input().split()))

i = 0
while i < n:
	while not (i + x < n):
		x -= 1
	temp = arr[i + x]
	j = i + x - 1
	flag = True

	while j >= i:
		if temp < arr[j]:
			j -= 1
		else:
			flag = False
			break

	if flag:
		j = i + x + 1
		while j < n and j <= i + x + y:
			if temp < arr[j]:
				j += 1
			else:
				flag = False
				break

		if flag or j == n:
			print(i + x + 1)
			break
		else:
			i = i + x + y
	else:
		i = i + x