#include <bits/stdc++.h>
const long long M = 1e9 + 7;
const double pi = 3.14159265358979323846;
using namespace std;
signed main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  long long t = 1;
  while (t--) {
    long long n, a, b;
    cin >> n >> a >> b;
    long long arr[n];
    for (long long i = 0; i < n; i++) cin >> arr[i];
    for (long long i = 0; i < n; i++) {
      long long j = i - 1, cnt = 0, f = 0, f1 = 0;
      while (cnt < a && j >= 0) {
        if (arr[j] < arr[i]) {
          f = 1;
          break;
        }
        cnt++;
        j--;
      }
      cnt = 0;
      j = i + 1;
      while (cnt < b && j < n) {
        if (arr[j] < arr[i]) {
          f1 = 1;
          break;
        }
        cnt++;
        j++;
      }
      if (!f && !f1) {
        cout << (i + 1) << "\n";
        break;
      }
    }
  }
  return 0;
}
