#include <stdio.h>

int main(void)
{
	int m;	/* ????¨??????° */
	int n_min, n_max;	 /* ?????????????????° ????°?, ?????§ */
	int data[200];
	int i;
	int max = 0;
	int through;

	/* ??\??? */
	while (scanf("%d %d %d", &m, &n_min, &n_max) == 3) {
		if (m == 0 && n_min == 0 && n_max == 0)
			break;

		for (i = 0; i < m; i++) {
			scanf("%d", &data[i]);
		}

		/* ?????? */
		for (i = n_max; i >= n_min; i--) {
			if ((data[i - 1] - data[i]) > max) {
				max = data[i - 1] - data[i];
				through = i;
			}
		}
		
		/* ?????? */
		printf("%d\n", through);

		/* ????????? */
		max = 0;
	}

	return 0;
}