######################################################################
# Write your code here
import sys
input = sys.stdin.readline
#import resource
#resource.setrlimit(resource.RLIMIT_STACK, [0x10000000, resource.RLIM_INFINITY])
#sys.setrecursionlimit(0x100000)
# Write your code here
RI = lambda : [int(x) for x in sys.stdin.readline().strip().split()]
rw = lambda : input().strip().split()
#from collections import defaultdict as df
#import heapq 
#heapq.heapify(li) heappush(li,4) heappop(li)
#import random
#random.shuffle(list)
infinite = float('inf')
#######################################################################

n,x,y=RI()

l=RI()
pre=[0]*n

c=x

pre[0]=1
for i in range(1,n):
    if(l[i]<l[i-1]):
        if(c>=x):
            pre[i]=1
            c+=1
        else:
            c+=1
    else:
        c=1

pos=[0]*n

c=y

pos[n-1]=1
for i in range(n-2,-1,-1):
    if(l[i]<l[i+1]):
        if(c>=y):
            pos[i]=1
            c+=1
        else:
            c+=1
    else:
        c=1

if(x==0):
    for i in range(n):
        pre[i]=1
if(y==0):
    for i in range(n):
        pos[i]=1

for i in range(n):
    if(pre[i]==1 and pos[i]==1):
        print(i+1)
        break

        
        
    
        
