#include <bits/stdc++.h>
using namespace std;
long long mod = 1000000007;
int main() {
  ios_base::sync_with_stdio(NULL);
  cin.tie(NULL);
  cout.tie(NULL);
  ;
  int n, x, y;
  cin >> n >> x >> y;
  vector<int> v(n), inc(n), dec(n + y + 1);
  inc[0] = 0;
  dec[0] = 0;
  for (unsigned long long i = 0; i < n; i++) cin >> v[i];
  int cnt = 0;
  for (unsigned long long i = 1; i < n; i++) {
    if (v[i] < v[i - 1])
      cnt++;
    else
      cnt = 0;
    inc[i] = cnt;
  }
  cnt = 0;
  for (unsigned long long i = 1; i < n; i++) {
    if (v[i] > v[i - 1])
      cnt++;
    else
      cnt = 0;
    dec[i] = cnt;
  }
  for (unsigned long long i = 0; i < n; i++) {
    if (inc[i] == i or inc[i] >= x)
      if (i >= (n - dec[n - 1] - 1) or dec[i + y] >= y) return cout << i + 1, 0;
  }
  return 0;
}
