#include <bits/stdc++.h>
using namespace std;
int n, x, y;
int a[1000050];
int b[1000050];
int c[1000050];
int main(void) {
  cin >> n >> x >> y;
  memset(a, 0x7f7f7f7f, sizeof(a));
  for (int i = 51; i <= n + 50; ++i) {
    cin >> a[i];
  }
  for (int i = 1; i <= n + 100; ++i) {
    if (a[i] <= a[i - 1])
      b[i] = b[i - 1] + 1;
    else
      b[i] = 0;
    if (a[i] >= a[i - 1])
      c[i] = c[i - 1] + 1;
    else
      c[i] = 0;
  }
  for (int i = 51; i <= n + 50; ++i) {
    if (b[i] >= x && c[i + y] == y) {
      cout << i - 50;
      return 0;
    }
  }
  return 0;
}
