n, x, y = map(int, input().split())
sp = list(map(int, input().split()))
for i in range(0, n - y - x - 1):
    k = 0
    sx = 0
    d = 0
    min1 = 10000000000000000
    for j in range(i, i + x + y + 1):
        if sx < x:
            if min1 > sp[j]:
                min1 = sp[j]
        elif sx == x:
            if sp[j] >= min1:
                d = 1
                break
            else:
                k = j
                min1 = sp[j]
        else:
            if min1 >= sp[j]:
                d = 1

        sx += 1
    if d == 0:
        print(k + 1)
        break


