import java.util.*;
import java.io.*;
import java.math.*;

public class Main {
    public static void main(String[] args){
      FastScanner sc = new FastScanner();
      int n = sc.nextInt(); int x = sc.nextInt(); int y = sc.nextInt();
      long[] arr = new long[n + 1]; boolean found = false;
      for(int i = 0; i < n; i++) arr[i] = sc.nextLong();
      boolean checkstart = false; boolean checkend = false;
      boolean checkleft = false; boolean checkright = false;
      boolean noleft = false; boolean noright = false;
      for(int i = 0; i < n; i++){
          if(x == 0 && y == 0){
              System.out.println("1");
              break;
          }
          if(i == 0){
              if(y != 0){
                for(int j = i + 1; j <= i + y; j++){
                    if(j >= n)
                        break;
                    if(arr[j] <= arr[i]){
                        checkstart = false;
                        break;
                    }
                    checkstart = true;
                }
                if(checkstart){
                    System.out.println("1");
                    break;
                }
              } else{
                  System.out.println("1");
                  break;
              }
          }
          else if(i == n - 1){
              if(x != 0){
                for(int j = i - 1; j >= i - x; j--){
                    if(j < 0)
                        break;
                    if(arr[j] <= arr[i]){
                        checkend = false;
                        break;
                    }
                    checkend = true;
                }
                if(checkend){
                    System.out.println(n);
                    break;
                }
              }
              else{
                    System.out.println(n);
                    break;                  
              }
          }
          else{
              if(y != 0){
                for(int j = i + 1; j <= i + y; j++){
                    if(j >= n)
                       break;
                    if(arr[j] <= arr[i]){
                        checkleft = false;
                        break;
                    }
                    checkleft = true;
                }
              }
              else
                  noleft = true;
              if(x != 0){
                for(int j = i - 1; j >= i - x; j--){
                    if(j < 0)
                        break;

                    if(arr[j] <= arr[i]){
                        checkright = false;
                        break;
                    }
                    checkright = true;
                }
              }
              else
                  noright = true;
              
              if(checkright && checkleft){
                  System.out.println((i + 1));
                  break;
              }
              else if(noleft && checkright){
                  System.out.println((i + 1));
                  break;                  
              }
              else if(noright && checkleft){
                  System.out.println((i + 1));
                  break;
              }
              
          }
      }
//      if(found) System.out.println("found");
//      else System.out.println("not found");

      
    }
}

class FastScanner 
    { 
        BufferedReader br; 
        StringTokenizer st; 
  
        public FastScanner() 
        { 
            br = new BufferedReader(new
                     InputStreamReader(System.in)); 
        } 
  
        String next() 
        { 
            while (st == null || !st.hasMoreElements()) 
            { 
                try
                { 
                    st = new StringTokenizer(br.readLine()); 
                } 
                catch (IOException  e) 
                { 
                    e.printStackTrace(); 
                } 
            } 
            return st.nextToken(); 
        } 
  
        int nextInt() 
        { 
            return Integer.parseInt(next()); 
        } 
  
        long nextLong() 
        { 
            return Long.parseLong(next()); 
        } 
  
        double nextDouble() 
        { 
            return Double.parseDouble(next()); 
        } 
  
        String nextLine() 
        { 
            String str = ""; 
            try
            { 
                str = br.readLine(); 
            } 
            catch (IOException e) 
            { 
                e.printStackTrace(); 
            } 
            return str; 
        } 
    } 



