import java.util.*;
public class Main {
    public static void check(int n,int[] rain,int x , int y){
        int minrain =rain[0];
        int [] lt = new int[rain.length];
        int [] gt = new int[rain.length];
        lt[0]=x;
        gt[rain.length-1]=y;
        for(int i=1;i<n;i++){
            if(rain[i]<rain[i-1]){
                if(lt[i-1]<x){
                    lt[i]=lt[i-1]+1;
                }
                else{
                    lt[i]=lt[i-1];
                }
            }
            else{
                lt[i]=0;
            }
        }
        for(int i=rain.length-2;i>=0;i--){
            if(rain[i]<rain[i+1]){
                if(gt[i+1]<y){
                    gt[i]=gt[i+1]+1;
                }
                else{
                    gt[i]=gt[i+1];
                }
            }
            else{
                gt[i]=0;
            }
        }
        int day=0;
        for(int i=0 ;i<n;i++){
            if(lt[i]==x && gt[i]==y){
               day=i;
               break;
            }
        }
        System.out.println(day+1);
    }
 
    public static void main(String[] args) {
	// write your code here
        //int[] rain = {10 ,9 ,6 ,7 ,8, 3, 2, 1, 4, 5};
        Scanner scan = new Scanner(System.in);
        int n = scan.nextInt();
        int x = scan.nextInt();
        int y = scan.nextInt();
        int [] rain = new int[n];
        for(int i=0;i<n;i++){
            rain[i]=scan.nextInt();
        }
        check(n,rain,x,y);
    }
}