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