#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(NULL);
  cout.tie(NULL);
  ;
  long long n, x, y;
  cin >> n >> x >> y;
  long long a[n];
  for (int i = 0; i < int(n); i++) cin >> a[i];
  long long ans = n;
  bool back = true, front = true;
  for (long long i = 0; i < n; ++i) {
    back = true;
    front = true;
    for (long long j = i - 1; j > i - x && j >= 0; --j) {
      if (a[i] >= a[j]) {
        back = false;
        break;
      }
    }
    if (back) {
      for (long long j = i + 1; j <= i + y && j < n; ++j) {
        if (a[i] >= a[j]) {
          front = false;
          break;
        }
      }
    }
    if (front && back) {
      ans = i + 1;
      break;
    }
  }
  cout << ans << "\n";
  return 0;
}
