#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  int n, x, y;
  cin >> n >> x >> y;
  stack<int> st;
  int ny = 0, ind = 0;
  bool ok = false;
  for (int i = 0; i < n; i++) {
    int num;
    cin >> num;
    if (st.size() == 0) {
      st.push(num);
      continue;
    }
    if (num < st.top()) {
      st.push(num);
      ind = i;
      ny = 0;
    } else {
      ny++;
      if (ny == y) {
        ok = true;
        break;
      }
    }
  }
  cout << ++ind;
}
