#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, x, y, k;
  cin >> n >> x >> y;
  int *a = new int[n];
  for (int i = 0; i < n; i++) {
    cin >> a[i];
  }
  for (int j = 0; j < n - y; j++) {
    int value = a[j + x];
    for (k = j; k <= x + y + j; k++) {
      if (value <= a[k]) {
        continue;
      } else {
        cout << k;
        break;
      }
    }
    if (k == x + y + j + 1) {
      cout << x + y + 1;
      cout << j + x + 1;
      break;
    }
  }
}
