#include <bits/stdc++.h>
using namespace std;
typedef pair<int, string> pis;
typedef pair<int, int> pii;
typedef map<string, int> msi;
typedef map<int, string> mis;
typedef multimap<int, string> mmis;
typedef list<int> li;
typedef queue<int, li> qul;
typedef queue<int> qu;
typedef vector<int> vi;
typedef vector<pii> vpii;
typedef vi::iterator itvi;
typedef msi::iterator itmsi;
typedef vector<char> vc;
typedef long long ll;
typedef vector<ll> vll;
int main(void) {
  ll n, x, y;
  cin >> n >> x >> y;
  vll v(n, -1);
  for (auto i = 0; i < n; i++) {
    cin >> v[i];
  }
  for (auto i = 0; i < n; i++) {
    ll index = i + x < n ? i + x : i;
    ll low_index = i;
    ll high_index = index + y < n ? index + y : n - 1;
    int flag = 0;
    for (auto j = low_index; j <= high_index; j++) {
      if (j == index) {
        continue;
      }
      if (v[j] < v[index]) {
        flag = 1;
        break;
      }
    }
    if (flag == 0) {
      cout << index + 1;
      break;
    }
  }
  return 0;
}
