import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.util.StringTokenizer;

public class Main
{
	public static void main(String[] args)
	{
		FastReader fr =new FastReader();	PrintWriter op =new PrintWriter(System.out);

		int n =fr.nextInt() ,x =fr.nextInt() ,y =fr.nextInt() ,i ,j ,k ,a[] =new int[n] ;

		for (i =0 ;i<n ;++i ) {
			a[i] =fr.nextInt() ;
		}
		boolean f =false ;
		for (i =x ; i<n-y; i++) {
			for ( j =1 ; j<=x ; j++){
				if (a[i]>=a[i-j])	break;	
			}
			for ( k =1 ; k<=y;k++) {
				if (a[i]>=a[i+k])	break;
			}
			if (j>x && k>y)	break;
		}
		op.println(i+1) ;
		op.flush();	op.close();
	}

	static class FastReader {
		BufferedReader br;
		StringTokenizer st;

		public FastReader() {
			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();
		}

		String nextLine() {
			String str ="";

			try
			{
				str =br.readLine();
			}
			catch(IOException e)
			{
				e.printStackTrace();
			}

			return str;
		}

		int nextInt() {
			return Integer.parseInt(next());
		}

		long nextLong() {
			return Long.parseLong(next()) ;
		}
	}
}