#include <bits/stdc++.h>
using namespace std;
const int MAXN = 1e5 + 1e4;
int a[MAXN];
int main() {
  int n, x, y;
  cin >> n >> x >> y;
  int i;
  for (i = 1; i <= n; i++) cin >> a[i];
  int Day;
  for (Day = 1; Day <= n; Day++) {
    for (i = Day - x; i < Day; i++) {
      if (i <= 0) continue;
      if (a[i] <= a[Day]) break;
    }
    if (i < Day) continue;
    for (i = Day + 1; i <= Day + y && i <= n; i++) {
      if (a[i] <= a[Day]) break;
    }
    if (i > Day + y || i > n) break;
  }
  cout << Day << endl;
  return 0;
}
