#include <bits/stdc++.h>
using namespace std;
void yes() { cout << "YES" << endl; }
void no() { cout << "NO" << endl; }
void nl() { cout << endl; }
void add(int *a, int n) {
  for (long long i = 0; i < n; i++) cin >> a[i];
}
int main() {
  ios::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  int n, x, y;
  cin >> n >> x >> y;
  vector<int> v(n);
  for (long long i = 0; i < n; i++) cin >> v[i];
  int z = 0;
  int max = 0, f1 = 1, f2 = 1;
  for (long long i = 0; i < n; i++) {
    z = i;
    for (long long j = i - 1; j >= i - x; j--) {
      if (j < 0) break;
      if (v[z] >= v[j]) {
        f1 = 0;
        break;
      }
    }
    for (long long j = i + 1; j < i + y + 1; j++) {
      if (j >= n) break;
      if (v[z] >= v[j]) {
        f2 = 0;
        break;
      }
    }
    if (f2 == 1 && f1 == 1) {
      cout << z + 1 << endl;
      return 0;
    }
    f2 = 1;
    f1 = 1;
  }
  cout << n << endl;
}
