n, x, y = map(int, input().split())
a = input()
k = -1
a = a.split()
a = list(map(int, a))
k = a.index(max(a))
if k < x:
    x = k
if n - k < y:
    y = n - k
print(a.index(min(a[k - x: k + y])) + 1)
