#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, x, y;
  cin >> n >> x >> y;
  vector<int> a(n, 0);
  for (int i = 0; i < n; i++) cin >> a[i];
  int mxl = INT_MIN, mxr = INT_MIN;
  for (int i = 0; i < x; i++) mxl = max(mxl, a[i]);
  int cent = a[x];
  for (int i = x + 1; i < y; i++) mxr = max(mxr, a[i]);
  int c = x;
  for (int i = 0; i < n; i++) {
    bool ok = true;
    for (int j = i - 1; j >= max(i - x, 0); j--) {
      if (a[i] > a[j]) ok = false;
    }
    for (int j = i + 1; j <= min(i + y, n - 1); j++) {
      if (a[i] > a[j]) ok = false;
    }
    if (ok) {
      cout << i + 1 << endl;
      return 0;
    }
  }
  return 0;
}
