def process():
    n, x, y = list(map(int, input().split()))

    days = list(map(int, input().split()))


    for i in range(x, n):
        m = min(i + y + 1, n)
        if sum(days[j] > days[i] for j in range(i-x, m)) == m - i + x -1:
            print(i+1)
            return


process()