import java.util.*;
 
public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int x = sc.nextInt();
        int y = sc.nextInt();
        int arr[]  =new int[n+1];
        for(int i=1;i<=n;i++) {
            arr[i] = sc.nextInt();
        } 
        int first = 0;
        int second = 0;
        int curr = 0;
        for(int i=1;i<=n;i++) {
            if(arr[i]>arr[i+1]) {
                first++;
                curr = arr[i+1];
            } else if(curr<arr[i+1] && first==x){
                second++;
                if(second == y) {
                    System.out.println(i);
                    break;
                } 
            } else {
                    first = 0;
                    second = 0;
                }
        }
    }
}