#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int x, y;
  cin >> x >> y;
  int d = 0;
  int bindex;
  int arr[100000];
  for (int i = 0; i < n; i++) {
    cin >> arr[i];
    if (d < arr[i]) {
      d = arr[i];
      bindex = i;
    }
  }
  for (int i = 0; i < n; i++) {
    bool isFine = true;
    if (i == bindex) {
      continue;
    }
    for (int j = i - x + 1; j < i; j++) {
      if (j < 0) {
        continue;
      }
      if (arr[j] > arr[i]) {
        isFine = false;
      }
    }
    for (int j = i + 1; j < i + y; j++) {
      if (j >= n) {
        continue;
      }
      if (arr[j] < arr[i]) {
        isFine = false;
      }
    }
    if (isFine == true) {
      cout << (i) << endl;
      return 0;
    }
  }
  cout << n << endl;
}
