import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N=sc.nextInt();
		double T=sc.nextDouble(),A=sc.nextInt(),temp=60001;
		int ans = 0;
		for(int i=1; i<=N;i++) {
			double h = A-(T-(0.006*sc.nextDouble()));
			if(Math.abs(h) < Math.abs(temp)) {
				temp = Math.abs(h);
				ans = i;
			}
		}
		System.out.println(ans);
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N=sc.nextInt();
		double T=sc.nextDouble(),A=sc.nextInt(),temp=60001;
		int ans = 0;
		for(int i=1; i<=N;i++) {
			double h = A-(T-(0.006*sc.nextDouble()));
			if(Math.abs(h) < Math.abs(temp)) {
				temp = Math.abs(h);
				ans = i;
			}
		}
		System.out.println(ans);
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N=sc.nextInt();
		double T=sc.nextDouble(),A=sc.nextInt(),temp=60001;
		int ans = 0;
		for(int i=1; i<=N;i++) {
			double h = A-(T-(0.006*sc.nextDouble()));
			if(Math.abs(h) < Math.abs(temp)) {
				temp = Math.abs(h);
				ans = i;
			}
		}
		System.out.println(ans);
	} main {
		Scanner sc = new Scanner(System.in);
		int N=sc.nextInt();
		double T=sc.nextDouble(),A=sc.nextInt(),temp=60001;
		int ans = 0;
		for(int i=1; i<=N;i++) {
			double h = A-(T-(0.006*sc.nextDouble()));
			if(Math.abs(h) < Math.abs(temp)) {
				temp = Math.abs(h);
				ans = i;
			}
		}
		System.out.println(ans);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int N=sc.nextInt(); N sc.nextInt() sc.nextInt sc double T=sc.nextDouble() T sc.nextDouble() sc.nextDouble sc A=sc.nextInt() A sc.nextInt() sc.nextInt sc temp=60001; temp 60001 int ans = 0; ans 0 for(int i=1; i<=N;i++) {
			double h = A-(T-(0.006*sc.nextDouble()));
			if(Math.abs(h) < Math.abs(temp)) {
				temp = Math.abs(h);
				ans = i;
			}
		} int i=1; int i=1; i 1 i<=N i N i++ i++ i {
			double h = A-(T-(0.006*sc.nextDouble()));
			if(Math.abs(h) < Math.abs(temp)) {
				temp = Math.abs(h);
				ans = i;
			}
		} {
			double h = A-(T-(0.006*sc.nextDouble()));
			if(Math.abs(h) < Math.abs(temp)) {
				temp = Math.abs(h);
				ans = i;
			}
		} double h = A-(T-(0.006*sc.nextDouble())); h A-(T-(0.006*sc.nextDouble())) A (T-(0.006*sc.nextDouble())) T (0.006*sc.nextDouble()) 0.006 sc.nextDouble() sc.nextDouble sc if(Math.abs(h) < Math.abs(temp)) {
				temp = Math.abs(h);
				ans = i;
			} Math.abs(h) < Math.abs(temp) Math.abs(h) Math.abs Math h Math.abs(temp) Math.abs Math temp {
				temp = Math.abs(h);
				ans = i;
			} temp = Math.abs(h) temp Math.abs(h) Math.abs Math h ans = i ans i System.out.println(ans) System.out.println System.out System System.out ans String[] args args public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N=sc.nextInt();
		double T=sc.nextDouble(),A=sc.nextInt(),temp=60001;
		int ans = 0;
		for(int i=1; i<=N;i++) {
			double h = A-(T-(0.006*sc.nextDouble()));
			if(Math.abs(h) < Math.abs(temp)) {
				temp = Math.abs(h);
				ans = i;
			}
		}
		System.out.println(ans);
	}
} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N=sc.nextInt();
		double T=sc.nextDouble(),A=sc.nextInt(),temp=60001;
		int ans = 0;
		for(int i=1; i<=N;i++) {
			double h = A-(T-(0.006*sc.nextDouble()));
			if(Math.abs(h) < Math.abs(temp)) {
				temp = Math.abs(h);
				ans = i;
			}
		}
		System.out.println(ans);
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N=sc.nextInt();
		double T=sc.nextDouble(),A=sc.nextInt(),temp=60001;
		int ans = 0;
		for(int i=1; i<=N;i++) {
			double h = A-(T-(0.006*sc.nextDouble()));
			if(Math.abs(h) < Math.abs(temp)) {
				temp = Math.abs(h);
				ans = i;
			}
		}
		System.out.println(ans);
	}
}
