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