/*  MOHD SADIQ  */

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.regex.Pattern;

public class Main {

    public static long parseLong(String s) {
        s = s.trim();
        return Long.parseLong(s);
    }

    public static int parseInt(String s) {
        s = s.trim();
        return Integer.parseInt(s);
    }

    public static int[] intArray(String t) {
        String[] s = t.trim().split(" ");
        int n = s.length;
        int[] a = new int[n];
        for (int i = 0; i < n; i++) {
            a[i] = Integer.parseInt(s[i]);
        }
        return a;
    }

    public static long[] longArray(String t) {
        String[] s = t.trim().split(" ");
        int n = s.length;
        long[] a = new long[n];
        for (int i = 0; i < n; i++) {
            a[i] = Long.parseLong(s[i]);
        }
        return a;
    }


    public static String solve() throws IOException {

        int[] tt = intArray(br.readLine());
        int n = tt[0],x = tt[1],y=tt[2];
        int[] a = intArray(br.readLine());
        int day = x;
        for(int j=x;j<n;j++){
            boolean ch = true;
            for(int i=j-x;i<j;i++){
                if(a[i]<a[j]){
                    ch = false;break;
                }
            }
            for(int i=j+1;i<j+1+y && i<n ;i++){
                if(a[i]<a[j]){
                    ch = false;
                    break;
                }
            }
            if(ch)
                return String.valueOf(j+1);
        }
        return String.valueOf(n);
    }

    static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

    public static void main(String[] args) throws IOException {
//        int total_test_case =Integer.parseInt(br.readLine().trim());
        StringBuffer ans = new StringBuffer();
        int total_test_case = 1;
        for(int test_case =0;test_case<total_test_case;test_case++){
            ans.append(solve()+"\n");
        }
        System.out.print(ans);
    }


}