import java.util.Scanner;

class Main
{
	public static void main(String[] args) {
		Scanner sc=new Scanner(System.in);
		int N=sc.nextInt();
		float T=(float)(sc.nextInt());
		float A=(float)(sc.nextInt());
		float[] unko=new float[N];
		for(int i=0; i<N; i++) {
			unko[i]=(float)(sc.nextInt());
		}
		double[] sa=new double[N];
		for(int i=0; i<N; i++) {
			sa[i]=Math.abs(T-unko[i]*0.006-A);
		}

		int a=0;
		double min=114514810;

		for(int i=0; i<N; i++) {
			//System.out.println(i+" "+sa[i]);
			if(min>sa[i]) {
				min=sa[i];
				a=i;
			}
		}
		System.out.println(a+1);
	}
} import java.util.Scanner; Scanner java.util class Main
{
	public static void main(String[] args) {
		Scanner sc=new Scanner(System.in);
		int N=sc.nextInt();
		float T=(float)(sc.nextInt());
		float A=(float)(sc.nextInt());
		float[] unko=new float[N];
		for(int i=0; i<N; i++) {
			unko[i]=(float)(sc.nextInt());
		}
		double[] sa=new double[N];
		for(int i=0; i<N; i++) {
			sa[i]=Math.abs(T-unko[i]*0.006-A);
		}

		int a=0;
		double min=114514810;

		for(int i=0; i<N; i++) {
			//System.out.println(i+" "+sa[i]);
			if(min>sa[i]) {
				min=sa[i];
				a=i;
			}
		}
		System.out.println(a+1);
	}
} Main public static void main(String[] args) {
		Scanner sc=new Scanner(System.in);
		int N=sc.nextInt();
		float T=(float)(sc.nextInt());
		float A=(float)(sc.nextInt());
		float[] unko=new float[N];
		for(int i=0; i<N; i++) {
			unko[i]=(float)(sc.nextInt());
		}
		double[] sa=new double[N];
		for(int i=0; i<N; i++) {
			sa[i]=Math.abs(T-unko[i]*0.006-A);
		}

		int a=0;
		double min=114514810;

		for(int i=0; i<N; i++) {
			//System.out.println(i+" "+sa[i]);
			if(min>sa[i]) {
				min=sa[i];
				a=i;
			}
		}
		System.out.println(a+1);
	} main {
		Scanner sc=new Scanner(System.in);
		int N=sc.nextInt();
		float T=(float)(sc.nextInt());
		float A=(float)(sc.nextInt());
		float[] unko=new float[N];
		for(int i=0; i<N; i++) {
			unko[i]=(float)(sc.nextInt());
		}
		double[] sa=new double[N];
		for(int i=0; i<N; i++) {
			sa[i]=Math.abs(T-unko[i]*0.006-A);
		}

		int a=0;
		double min=114514810;

		for(int i=0; i<N; i++) {
			//System.out.println(i+" "+sa[i]);
			if(min>sa[i]) {
				min=sa[i];
				a=i;
			}
		}
		System.out.println(a+1);
	} Scanner sc=new Scanner(System.in); sc new Scanner(System.in) int N=sc.nextInt(); N sc.nextInt() sc.nextInt sc float T=(float)(sc.nextInt()); T (float)(sc.nextInt()) sc.nextInt sc float A=(float)(sc.nextInt()); A (float)(sc.nextInt()) sc.nextInt sc float[] unko=new float[N]; unko new float[N] N for(int i=0; i<N; i++) {
			unko[i]=(float)(sc.nextInt());
		} int i=0; int i=0; i 0 i<N i N i++ i++ i {
			unko[i]=(float)(sc.nextInt());
		} {
			unko[i]=(float)(sc.nextInt());
		} unko[i]=(float)(sc.nextInt()) unko[i] unko i (float)(sc.nextInt()) sc.nextInt sc double[] sa=new double[N]; sa new double[N] N for(int i=0; i<N; i++) {
			sa[i]=Math.abs(T-unko[i]*0.006-A);
		} int i=0; int i=0; i 0 i<N i N i++ i++ i {
			sa[i]=Math.abs(T-unko[i]*0.006-A);
		} {
			sa[i]=Math.abs(T-unko[i]*0.006-A);
		} sa[i]=Math.abs(T-unko[i]*0.006-A) sa[i] sa i Math.abs(T-unko[i]*0.006-A) Math.abs Math T-unko[i]*0.006-A T-unko[i]*0.006-A T unko[i]*0.006 unko[i] unko i 0.006 A int a=0; a 0 double min=114514810; min 114514810 for(int i=0; i<N; i++) {
			//System.out.println(i+" "+sa[i]);
			if(min>sa[i]) {
				min=sa[i];
				a=i;
			}
		} int i=0; int i=0; i 0 i<N i N i++ i++ i {
			//System.out.println(i+" "+sa[i]);
			if(min>sa[i]) {
				min=sa[i];
				a=i;
			}
		} {
			//System.out.println(i+" "+sa[i]);
			if(min>sa[i]) {
				min=sa[i];
				a=i;
			}
		} if(min>sa[i]) {
				min=sa[i];
				a=i;
			} min>sa[i] min sa[i] sa i {
				min=sa[i];
				a=i;
			} min=sa[i] min sa[i] sa i a=i a i System.out.println(a+1) System.out.println System.out System System.out a+1 a 1 String[] args args
import java.util.Scanner;

class Main
{
	public static void main(String[] args) {
		Scanner sc=new Scanner(System.in);
		int N=sc.nextInt();
		float T=(float)(sc.nextInt());
		float A=(float)(sc.nextInt());
		float[] unko=new float[N];
		for(int i=0; i<N; i++) {
			unko[i]=(float)(sc.nextInt());
		}
		double[] sa=new double[N];
		for(int i=0; i<N; i++) {
			sa[i]=Math.abs(T-unko[i]*0.006-A);
		}

		int a=0;
		double min=114514810;

		for(int i=0; i<N; i++) {
			//System.out.println(i+" "+sa[i]);
			if(min>sa[i]) {
				min=sa[i];
				a=i;
			}
		}
		System.out.println(a+1);
	}
}