n,x,y=map(int,input().split())
a=list(map(int,input().split()))
dp=[0]*n
dp[0]=10**5
dp1=[0]*n
dp1[-1]=10**5
for i in range(1,n):
	if a[i]<=a[i-1]:
		dp[i]=dp[i-1]+1
	else:
		dp[i]=0
for i in range(n-2,-1,-1):
	if a[i]<=a[i+1]:
		dp1[i]=dp1[i+1]+1
	else:
		dp1[i]=0
for i in range(n):
	if dp[i]>=x and dp1[i]>=y:
		print(i+1)
		break