import java.util.*;
import java.lang.*;
import java.io.*;
import java.math.*;
//BigInteger A;
//A= BigInteger.valueOf(54);
//ArrayList<Integer> a=new ArrayList<>();
//TreeSet<Integer> ts=new TreeSet<>();
//HashMap<Integer,Integer> hm=new HashMap<>();
public final class Cf
{
    public static void main(String[]args)
    {
        FastReader ob=new FastReader();
        //int t=ob.nextInt();
        //while(t-->0)
        {
            int n=ob.nextInt();
            int x=ob.nextInt();
            int y=ob.nextInt();
            int a[]=new int[n];
            //int b[]=new int[n];
            for(int i=0;i<n;i++)
            a[i]=ob.nextInt();
            int minf=Integer.MAX_VALUE;
            int minr=Integer.MAX_VALUE;
            if(x>=n)
            {
                System.out.print(n);
                return;
            }
            for(int i=0;i<x;i++)
            {
                if(a[i]<minf)
                minf=a[i];
            }
            if((n-x-1)<y)
            y=n-x-1;
            for(int i=x+1;i<x+y+1;i++)
            {
                if(a[i]<minr)
                minr=a[i];
            }
            if(a[x]<minf&&a[x]<minr)
            {
                System.out.print(x+1);
                return;
            }
            for(int i=x+1;i<n;i++)
            {
                minf=Integer.MAX_VALUE;
                minr=Integer.MAX_VALUE;
                for(int j=i-x;j<i;j++)
                {
                    if(a[j]<minf)
                    minf=a[j];
                }
                if((n-i-1)<y)
                y=n-i-1;
                for(int j=i+1;j<i+y+1;j++)
                {
                    if(a[j]<minr)
                    minr=a[j];
                }
                if(a[i]<minf&&a[i]<minr)
                {
                    System.out.print(i+1);
                    return;
                }
            }
            //System.out.println("YES");
        }
    }
}
class FastReader {
    BufferedReader br;
    StringTokenizer st;
    public FastReader() {
        br = new BufferedReader(new InputStreamReader(System.in));
    }

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