#include <bits/stdc++.h>
using namespace std;
long long a[101112], x, y, n;
int main() {
  cin >> n >> x >> y;
  for (int i = 11; i <= n + 10; i++) cin >> a[i];
  for (int i = 1; i <= 10; i++) {
    a[i] = INT_MAX;
    a[n + 10 + i] = INT_MAX;
  }
  for (int i = 11; i <= n + 10; i++) {
    int k1 = i - x, k2 = i + y;
    for (; k1 < i; k1++)
      if (a[k1] < a[i]) break;
    for (; k2 > i; k2--)
      if (a[k2] < a[i]) break;
    if (k1 == k2) {
      cout << i - 10;
      return 0;
    }
  }
  cout << n;
}
