#include<bits/stdc++.h>
#define ll long long
#define pii pair<int,int>
#define vii vector<int>
#define vcc vector<char>
#define pll pair<long long, long long>
#define mem memset
#define sof sizeof
#define co1 __builtin_popcountll
#define PB push_back
#define UB upper_bound
#define LB lower_bound
#define MP make_pair
#define TS to_string
#define F first
#define S second
#define endl '\n'
using namespace std;

long long __lcm(long long a, long long b){
    ll gd = __gcd(a,b);
    ll xx = (a*b)/gd;
    return xx;
}

long long bigmod(long long a, long long b, long long M){
    if(b==0) return 1%M;
    ll x = bigmod(a,b/2,M);
    x=(x*x)%M;
    if(b%2==1) x=(x*a)%M;
    return x;
}

int main()
{
    ios_base::sync_with_stdio(0);
    cin.tie(0);
    long long a,b,c=-1,d,e=0,f,i,j,k,m,n,o,x,y;
    cin>>n>>x>>y;
    ll ar[n];
    for(i=0;i<n;i++) cin>>ar[i];
    for(i=0;i<n;i++){
        e=0;
        for(j=min(x,i-x);j<i;j++) if(ar[j]<=ar[i]) e++;
        for(j=i+1;j<=min(i+y,n-1);j++) if(ar[j]<=ar[i]) e++;
        if(e==0){
            c=i;
            break;
        }
    }
    cout<<c+1<<"\n";
}