import java.util.Scanner;
public class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		double a = sc.nextInt();
		double b = sc.nextInt();
		double c = sc.nextInt();
		double f =9999;
		int g = 0;
		for(int i = 1; i <= a; i++){
			double d = sc.nextInt();
			double e = b-d*0.006;
			if(f>Math.abs(c-e)){
				f = Math.abs(c-e);
				g = i;
			}
		}
		System.out.println(g);
	}
} import java.util.Scanner; Scanner java.util public class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		double a = sc.nextInt();
		double b = sc.nextInt();
		double c = sc.nextInt();
		double f =9999;
		int g = 0;
		for(int i = 1; i <= a; i++){
			double d = sc.nextInt();
			double e = b-d*0.006;
			if(f>Math.abs(c-e)){
				f = Math.abs(c-e);
				g = i;
			}
		}
		System.out.println(g);
	}
} Main public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		double a = sc.nextInt();
		double b = sc.nextInt();
		double c = sc.nextInt();
		double f =9999;
		int g = 0;
		for(int i = 1; i <= a; i++){
			double d = sc.nextInt();
			double e = b-d*0.006;
			if(f>Math.abs(c-e)){
				f = Math.abs(c-e);
				g = i;
			}
		}
		System.out.println(g);
	} main {
		Scanner sc = new Scanner(System.in);
		double a = sc.nextInt();
		double b = sc.nextInt();
		double c = sc.nextInt();
		double f =9999;
		int g = 0;
		for(int i = 1; i <= a; i++){
			double d = sc.nextInt();
			double e = b-d*0.006;
			if(f>Math.abs(c-e)){
				f = Math.abs(c-e);
				g = i;
			}
		}
		System.out.println(g);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) double a = sc.nextInt(); a sc.nextInt() sc.nextInt sc double b = sc.nextInt(); b sc.nextInt() sc.nextInt sc double c = sc.nextInt(); c sc.nextInt() sc.nextInt sc double f =9999; f 9999 int g = 0; g 0 for(int i = 1; i <= a; i++){
			double d = sc.nextInt();
			double e = b-d*0.006;
			if(f>Math.abs(c-e)){
				f = Math.abs(c-e);
				g = i;
			}
		} int i = 1; int i = 1; i 1 i <= a i a i++ i++ i {
			double d = sc.nextInt();
			double e = b-d*0.006;
			if(f>Math.abs(c-e)){
				f = Math.abs(c-e);
				g = i;
			}
		} {
			double d = sc.nextInt();
			double e = b-d*0.006;
			if(f>Math.abs(c-e)){
				f = Math.abs(c-e);
				g = i;
			}
		} double d = sc.nextInt(); d sc.nextInt() sc.nextInt sc double e = b-d*0.006; e b-d*0.006 b d*0.006 d 0.006 if(f>Math.abs(c-e)){
				f = Math.abs(c-e);
				g = i;
			} f>Math.abs(c-e) f Math.abs(c-e) Math.abs Math c-e c e {
				f = Math.abs(c-e);
				g = i;
			} f = Math.abs(c-e) f Math.abs(c-e) Math.abs Math c-e c e g = i g i System.out.println(g) System.out.println System.out System System.out g String[] args args public class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		double a = sc.nextInt();
		double b = sc.nextInt();
		double c = sc.nextInt();
		double f =9999;
		int g = 0;
		for(int i = 1; i <= a; i++){
			double d = sc.nextInt();
			double e = b-d*0.006;
			if(f>Math.abs(c-e)){
				f = Math.abs(c-e);
				g = i;
			}
		}
		System.out.println(g);
	}
} public class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		double a = sc.nextInt();
		double b = sc.nextInt();
		double c = sc.nextInt();
		double f =9999;
		int g = 0;
		for(int i = 1; i <= a; i++){
			double d = sc.nextInt();
			double e = b-d*0.006;
			if(f>Math.abs(c-e)){
				f = Math.abs(c-e);
				g = i;
			}
		}
		System.out.println(g);
	}
} Main
import java.util.Scanner;
public class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		double a = sc.nextInt();
		double b = sc.nextInt();
		double c = sc.nextInt();
		double f =9999;
		int g = 0;
		for(int i = 1; i <= a; i++){
			double d = sc.nextInt();
			double e = b-d*0.006;
			if(f>Math.abs(c-e)){
				f = Math.abs(c-e);
				g = i;
			}
		}
		System.out.println(g);
	}
}