#include <stdio.h>

int main(void) {
  int m, nmin, nmax, p[200], i, dif[200], max, ans;
  while (1) {
    scanf("%d%d%d", &m, &nmin, &nmax);
    if (m == 0 && nmin == 0 && nmax == 0) return 0;
    for (i = 0; i < m; i++)
      scanf("%d", &p[i]);

    for (i = 0; i < 200; i++)
      dif[i] = 0;

    for (i = nmin - 1; i < nmax; i++)
      dif[i] = p[i] - p[i + 1];

    max = dif[nmin - 1];
    ans = nmin;
    for (i = nmin; i < nmax; i++)
      if (dif[i] >= max) {
	max = dif[i];
	ans = i + 1;
      }
    printf("%d\n", ans);
  }
}