#include<stdio.h>
#include<algorithm>
#include<string.h>
#include<set>
#include<queue>
#include<string>
#include<sstream>
#include<iostream>
#include<stack>
#include<map>
#include<vector>
#include<cstring>
#include<cstdlib>
#include<cstdio>
using namespace std;
int main()
{
	double a[1100];
	double n, d, p;
	scanf("%lf %lf %lf", &n, &d, &p);
	for (int i = 1; i <= n; i++)
	{
		scanf("%lf", &a[i]);
	}
	double num = 11111111111;
	int wz = 0;
	for (int i = 1; i <= n; i++)
	{
		double t = abs((d - a[i] * 0.006) - p);
		if (t < num)
		{
			num = t;
			wz = i;
		}
	}
	printf("%d",wz);
	return 0;
}