# cook your dish here
n,x,y=map(int,input().split())
a=list(map(int,input().split()))
s=0
for d in range(x,n):
    j=d+y+1
    if(j>n):
        j=n
    for i in range(d-x,j):
        if(i!=d):
            if(a[d]<a[i]):
                pass
            else:
                break
        if(i==j-1):
            ans=d+1
            s=1
    if(s==1):
        break
if(s!=1):
    ans=n
print(ans)