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