
import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner cin = new Scanner(System.in);
        int n = cin.nextInt();
        int x = cin.nextInt();
        int y = cin.nextInt();
        int[] nums = new int[n + y + 2];
        for (int i = 0; i < n; i++) {
            nums[i] = cin.nextInt();
        }
        if(n==0){
            System.out.print(0);
            return;
        }
        for (int i = x; i < n + y; i++) {
            boolean flag=true;
            if (nums[x] == 0) {//如果天数超出 夏天
                System.out.print(n);
                break;
            }
            for (int j = i - x; j < i; j++) {//前边
                if (nums[j] <= nums[i]) {
                    flag=false;
                    break;
                }
            }
            if (false)
                continue;
            for (int j = i + 1; j < i + y + 1; j++) {//后边
                if (nums[j] == 0)
                    continue;//不是夏天
                if (nums[j] <= nums[i]) {
                    flag=false;
                    break;
                }
            }
            if(flag) {
                System.out.print(i + 1);
                return;
            }

        }
    }
}
