n,x,y=map(int,input().split())
arr=list(map(int,input().split()))
index=[]
count=0
ans=0
for i in range(1,n):
    if arr[i-1]>arr[i]:
        count+=1
        #ind1=i
        '''if count>=x:
            index.append(i-1)
            count=0
            #break'''
        if i==n-1:
            index.append(i)
    else:
        if count>=x:
            index.append(i-1)
            count=0
            #break
#print(*index)
count1=0
for ind in index:
    check=arr[ind]
    flag=0
    ans=ind
    for j in range(ind+1,n):
        if check < arr[j]:
            count1+=1
            if count1>=y:
                ans=ind
                flag=1
                break
    if flag==1:
        break
print(ans+1)
                
    
        
