#include <bits/stdc++.h>
using namespace std;
template <typename Arg1>
void __f(const char* name, Arg1&& arg1) {
  cout << name << " : " << arg1 << "\n";
}
template <typename Arg1, typename... Args>
void __f(const char* names, Arg1&& arg1, Args&&... args) {
  const char* comma = strchr(names + 1, ',');
  cout.write(names, comma - names) << " : " << arg1 << " | ";
  __f(comma + 1, args...);
}
long long gcd(long long a, long long b) {
  if (b == 0) return a;
  return gcd(b, a % b);
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  ;
  int t = 1;
  while (t--) {
    long long n;
    cin >> n;
    long long x, y;
    cin >> x >> y;
    long long a[n];
    for (long long i = 0; i < n; i++) {
      cin >> a[i];
    }
    long long l[n];
    long long r[n];
    long long curr = 0;
    l[0] = 0;
    for (long long i = 0; i < n; i++) {
      long long x1 = min(x, i);
      long long j = i;
      long long y1 = min(y, n - 1 - i);
      int flag = 1;
      while (x1--) {
        j--;
        if (a[j] < a[i]) {
          flag = 0;
          break;
        }
      }
      j = i;
      while (y1--) {
        j++;
        if (a[j] < a[i]) {
          flag = 0;
          break;
        }
      }
      if (flag == 1) {
        cout << i + 1 << "\n";
        break;
      }
    }
  }
  return 0;
}
