#include <bits/stdc++.h>
using namespace std;
int input() {
  int x = 0, f = 0;
  char ch = getchar();
  while (ch < '0' || ch > '9') f |= ch == '-', ch = getchar();
  while (ch >= '0' && ch <= '9') x = x * 10 + ch - '0', ch = getchar();
  return f ? -x : x;
}
int a[(int)(1e5 + 7)], x, y, n;
int main() {
  cin >> n >> x >> y;
  for (int i = 1; i <= n; i++) {
    cin >> a[i];
  }
  a[0] = 1e9 + 7, a[n + 1] = 1e9 + 7;
  int tmp1 = x, tmp2 = y;
  for (int i = 1; i <= n; i++) {
    int tmp1 = x, tmp2 = y;
    int mn = 1e9 + 7, mx = 1e9 + 7;
    for (int j = i - 1; j >= 0; j--) {
      if (tmp1 > 0) {
        mn = min(mn, a[j]);
        tmp1--;
      } else
        break;
    }
    for (int j = i + 1; j <= n + 1; j++) {
      if (tmp2 > 0) {
        mx = min(mx, a[j]);
        tmp2--;
      } else
        break;
    }
    if (a[i] < mn && a[i] < mx) {
      cout << i << endl;
      break;
    }
  }
  return 0;
}
