import java.util.Scanner;
public class Main {
@SuppressWarnings("resource")
public static void main(String[] args) {
	Scanner sc =new Scanner(System.in);
	int placeNum=sc.nextInt();
	int temp=sc.nextInt();
	int ideal=sc.nextInt();
	int ans=0;
	double dis=10000;
	int placeHigh[]=new int[placeNum];
	for(int i=0;i<placeHigh.length;i++) {
		placeHigh[i]=sc.nextInt();
		if(dis>Math.abs(ideal-(temp-placeHigh[i]*0.006))) {
			dis=Math.abs(ideal-(temp-placeHigh[i]*0.006));
			ans=i+1;
		}
	}
	System.out.println(ans);

}
} import java.util.Scanner; Scanner java.util public class Main {
@SuppressWarnings("resource")
public static void main(String[] args) {
	Scanner sc =new Scanner(System.in);
	int placeNum=sc.nextInt();
	int temp=sc.nextInt();
	int ideal=sc.nextInt();
	int ans=0;
	double dis=10000;
	int placeHigh[]=new int[placeNum];
	for(int i=0;i<placeHigh.length;i++) {
		placeHigh[i]=sc.nextInt();
		if(dis>Math.abs(ideal-(temp-placeHigh[i]*0.006))) {
			dis=Math.abs(ideal-(temp-placeHigh[i]*0.006));
			ans=i+1;
		}
	}
	System.out.println(ans);

}
} Main @SuppressWarnings("resource")
public static void main(String[] args) {
	Scanner sc =new Scanner(System.in);
	int placeNum=sc.nextInt();
	int temp=sc.nextInt();
	int ideal=sc.nextInt();
	int ans=0;
	double dis=10000;
	int placeHigh[]=new int[placeNum];
	for(int i=0;i<placeHigh.length;i++) {
		placeHigh[i]=sc.nextInt();
		if(dis>Math.abs(ideal-(temp-placeHigh[i]*0.006))) {
			dis=Math.abs(ideal-(temp-placeHigh[i]*0.006));
			ans=i+1;
		}
	}
	System.out.println(ans);

} main {
	Scanner sc =new Scanner(System.in);
	int placeNum=sc.nextInt();
	int temp=sc.nextInt();
	int ideal=sc.nextInt();
	int ans=0;
	double dis=10000;
	int placeHigh[]=new int[placeNum];
	for(int i=0;i<placeHigh.length;i++) {
		placeHigh[i]=sc.nextInt();
		if(dis>Math.abs(ideal-(temp-placeHigh[i]*0.006))) {
			dis=Math.abs(ideal-(temp-placeHigh[i]*0.006));
			ans=i+1;
		}
	}
	System.out.println(ans);

} Scanner sc =new Scanner(System.in); sc new Scanner(System.in) int placeNum=sc.nextInt(); placeNum sc.nextInt() sc.nextInt sc int temp=sc.nextInt(); temp sc.nextInt() sc.nextInt sc int ideal=sc.nextInt(); ideal sc.nextInt() sc.nextInt sc int ans=0; ans 0 double dis=10000; dis 10000 int placeHigh[]=new int[placeNum]; placeHigh new int[placeNum] placeNum for(int i=0;i<placeHigh.length;i++) {
		placeHigh[i]=sc.nextInt();
		if(dis>Math.abs(ideal-(temp-placeHigh[i]*0.006))) {
			dis=Math.abs(ideal-(temp-placeHigh[i]*0.006));
			ans=i+1;
		}
	} int i=0; int i=0; i 0 i<placeHigh.length i placeHigh.length placeHigh placeHigh.length i++ i++ i {
		placeHigh[i]=sc.nextInt();
		if(dis>Math.abs(ideal-(temp-placeHigh[i]*0.006))) {
			dis=Math.abs(ideal-(temp-placeHigh[i]*0.006));
			ans=i+1;
		}
	} {
		placeHigh[i]=sc.nextInt();
		if(dis>Math.abs(ideal-(temp-placeHigh[i]*0.006))) {
			dis=Math.abs(ideal-(temp-placeHigh[i]*0.006));
			ans=i+1;
		}
	} placeHigh[i]=sc.nextInt() placeHigh[i] placeHigh i sc.nextInt() sc.nextInt sc if(dis>Math.abs(ideal-(temp-placeHigh[i]*0.006))) {
			dis=Math.abs(ideal-(temp-placeHigh[i]*0.006));
			ans=i+1;
		} dis>Math.abs(ideal-(temp-placeHigh[i]*0.006)) dis Math.abs(ideal-(temp-placeHigh[i]*0.006)) Math.abs Math ideal-(temp-placeHigh[i]*0.006) ideal (temp-placeHigh[i]*0.006) temp placeHigh[i]*0.006 placeHigh[i] placeHigh i 0.006 {
			dis=Math.abs(ideal-(temp-placeHigh[i]*0.006));
			ans=i+1;
		} dis=Math.abs(ideal-(temp-placeHigh[i]*0.006)) dis Math.abs(ideal-(temp-placeHigh[i]*0.006)) Math.abs Math ideal-(temp-placeHigh[i]*0.006) ideal (temp-placeHigh[i]*0.006) temp placeHigh[i]*0.006 placeHigh[i] placeHigh i 0.006 ans=i+1 ans i+1 i 1 System.out.println(ans) System.out.println System.out System System.out ans String[] args args public class Main {
@SuppressWarnings("resource")
public static void main(String[] args) {
	Scanner sc =new Scanner(System.in);
	int placeNum=sc.nextInt();
	int temp=sc.nextInt();
	int ideal=sc.nextInt();
	int ans=0;
	double dis=10000;
	int placeHigh[]=new int[placeNum];
	for(int i=0;i<placeHigh.length;i++) {
		placeHigh[i]=sc.nextInt();
		if(dis>Math.abs(ideal-(temp-placeHigh[i]*0.006))) {
			dis=Math.abs(ideal-(temp-placeHigh[i]*0.006));
			ans=i+1;
		}
	}
	System.out.println(ans);

}
} public class Main {
@SuppressWarnings("resource")
public static void main(String[] args) {
	Scanner sc =new Scanner(System.in);
	int placeNum=sc.nextInt();
	int temp=sc.nextInt();
	int ideal=sc.nextInt();
	int ans=0;
	double dis=10000;
	int placeHigh[]=new int[placeNum];
	for(int i=0;i<placeHigh.length;i++) {
		placeHigh[i]=sc.nextInt();
		if(dis>Math.abs(ideal-(temp-placeHigh[i]*0.006))) {
			dis=Math.abs(ideal-(temp-placeHigh[i]*0.006));
			ans=i+1;
		}
	}
	System.out.println(ans);

}
} Main
import java.util.Scanner;
public class Main {
@SuppressWarnings("resource")
public static void main(String[] args) {
	Scanner sc =new Scanner(System.in);
	int placeNum=sc.nextInt();
	int temp=sc.nextInt();
	int ideal=sc.nextInt();
	int ans=0;
	double dis=10000;
	int placeHigh[]=new int[placeNum];
	for(int i=0;i<placeHigh.length;i++) {
		placeHigh[i]=sc.nextInt();
		if(dis>Math.abs(ideal-(temp-placeHigh[i]*0.006))) {
			dis=Math.abs(ideal-(temp-placeHigh[i]*0.006));
			ans=i+1;
		}
	}
	System.out.println(ans);

}
}