#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int n, x, y;
  cin >> n >> x >> y;
  long long int a[n];
  for (long long int i = 0; i < n; i++) cin >> a[i];
  long long int pref[n], suff[n];
  for (long long int i = 0; i < n; i++) {
    if (i == 0) {
      pref[0] = 0;
    } else {
      if (a[i] < a[i - 1]) {
        pref[i] = 1 + pref[i - 1];
      } else {
        pref[i] = 0;
      }
    }
  }
  for (long long int i = n - 1; i >= 0; i--) {
    if (i == n - 1) {
      suff[i] = 0;
    } else {
      if (a[i] < a[i + 1]) {
        suff[i] = 1 + suff[i + 1];
      } else {
        suff[i] = 0;
      }
    }
  }
  for (long long int i = 0; i < n; i++) {
    if ((pref[i] >= x && suff[i] >= y) ||
        (suff[i] + i >= n - 1 && pref[i] >= x) ||
        (suff[i] >= y && pref[i] - i <= 0) ||
        (pref[i] - i <= 0 && suff[i] + i >= n - 1)) {
      cout << i + 1 << endl;
      break;
    }
  }
}
