#include <bits/stdc++.h>
using namespace std;
long long a[1000004];
int main() {
  long long n, tt, i, j, k, l, m, x, y;
  ios_base::sync_with_stdio(0);
  cin.tie(NULL);
  cout.tie(NULL);
  cin >> n >> x >> y;
  long long ar[n + 4];
  for (i = 0; i < n; i++) cin >> ar[i];
  map<int, int> mp;
  map<int, int>::iterator it;
  for (i = 0; i < min(x + y + 1, n); i++) {
    mp[ar[i]] = i + 1;
  }
  int st = 1, en = x + y + 1;
  int b = 0;
  for (i = x + y + 1; i < n; i++) {
    it = mp.begin();
    if ((it->second - x >= st) &&
        (it->second + y <= en || it->second + y > n)) {
      cout << it->second << endl;
      b = 1;
      break;
    }
    mp.erase(ar[i - x - y - 1]);
    mp[ar[i]] = i + 1;
    st++;
    en++;
  }
  if (b == 0) {
    it = mp.begin();
    cout << it->second << endl;
  }
  return 0;
}
