import java.util.Scanner;

public class cityDay {
    public static void main(String[] args) {

        Scanner s = new Scanner(System.in);
        int n = s.nextInt();
        int x = s.nextInt();
        int y = s.nextInt();


        int[] arr = new int[n];
        for(int i = 0; i < n; i++) {
            arr[i] = s.nextInt();
        }
        int min = 0;
        for(int i = x; i < arr.length; i++) {
            int check = arr[i];
            int xCounter = 0;
            int yCounter = 0;

            for(int b =1; b<=x; b++) {
                if(arr[i-b] >= check) {
                    xCounter++;
                }
            }
            for(int droz = 1; droz<=y; droz++) {
                if(droz + i >= n) {
                    yCounter = y;
                    break;
                }
                if(arr[i+droz] >= check) {
                    yCounter++;
                }
            }
            if(xCounter == x && yCounter == y) {
                min = i;
                break;
            }

        }
        if(min ==0) {
            System.out.println(n);
        }
        else {
            System.out.println(min+1);
        }

    }



}
