#define _CRT_SECURE_NO_WARNINGS
//#define _USE_MATH_DEFINES
#include<stdio.h>
//#include<stdlib.h>
//#include<math.h>
//#include<string.h>
//#include<time.h>
//#include<ctype.h>
//#define pi acos(-1.0)
#define P(type,x) fprintf(stdout,"%"#type"\n",x)
#define S(type,x) fscanf(stdin,"%"#type,x)
//#define MAX(a,b) a>b?a:b
//#define MIN(a,b) a<b?a:b

int main() {
	int a, b, c, f;
	for (; ~fscanf(stdin, "%d%d%d", &a, &b, &c),a; P(d, f)){
		int d[201] = {},
			i,e=0;
		for (i = 0; i < a; i++)S(d, d + i);
		for (i = b; i <= c; i++)
			if (e <= d[i - 1] - d[i])e = d[i - 1] - d[i], f = i;
	}
	return 0;
}