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();
		int A = sc.nextInt();
		double[] H = new double[N];
		for(int i = 0; i < N; i++) {
			H[i] = sc.nextInt();
		}
		double tmp = 2000000000;
		double ans = 2000000000;
		int res = 0;
		for(int i = 0; i < N; i++) {
			tmp = T - H[i] * 0.006;
			if(Math.abs(tmp - A) < ans) {
				ans = Math.abs(tmp - A);
				res = i;
			}
		}
		System.out.println(res + 1);
	}

} 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();
		int A = sc.nextInt();
		double[] H = new double[N];
		for(int i = 0; i < N; i++) {
			H[i] = sc.nextInt();
		}
		double tmp = 2000000000;
		double ans = 2000000000;
		int res = 0;
		for(int i = 0; i < N; i++) {
			tmp = T - H[i] * 0.006;
			if(Math.abs(tmp - A) < ans) {
				ans = Math.abs(tmp - A);
				res = i;
			}
		}
		System.out.println(res + 1);
	}

} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		double T = sc.nextDouble();
		int A = sc.nextInt();
		double[] H = new double[N];
		for(int i = 0; i < N; i++) {
			H[i] = sc.nextInt();
		}
		double tmp = 2000000000;
		double ans = 2000000000;
		int res = 0;
		for(int i = 0; i < N; i++) {
			tmp = T - H[i] * 0.006;
			if(Math.abs(tmp - A) < ans) {
				ans = Math.abs(tmp - A);
				res = i;
			}
		}
		System.out.println(res + 1);
	} main {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		double T = sc.nextDouble();
		int A = sc.nextInt();
		double[] H = new double[N];
		for(int i = 0; i < N; i++) {
			H[i] = sc.nextInt();
		}
		double tmp = 2000000000;
		double ans = 2000000000;
		int res = 0;
		for(int i = 0; i < N; i++) {
			tmp = T - H[i] * 0.006;
			if(Math.abs(tmp - A) < ans) {
				ans = Math.abs(tmp - A);
				res = i;
			}
		}
		System.out.println(res + 1);
	} 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 int A = sc.nextInt(); A sc.nextInt() sc.nextInt sc double[] H = new double[N]; H new double[N] N for(int i = 0; i < N; i++) {
			H[i] = sc.nextInt();
		} int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
			H[i] = sc.nextInt();
		} {
			H[i] = sc.nextInt();
		} H[i] = sc.nextInt() H[i] H i sc.nextInt() sc.nextInt sc double tmp = 2000000000; tmp 2000000000 double ans = 2000000000; ans 2000000000 int res = 0; res 0 for(int i = 0; i < N; i++) {
			tmp = T - H[i] * 0.006;
			if(Math.abs(tmp - A) < ans) {
				ans = Math.abs(tmp - A);
				res = i;
			}
		} int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
			tmp = T - H[i] * 0.006;
			if(Math.abs(tmp - A) < ans) {
				ans = Math.abs(tmp - A);
				res = i;
			}
		} {
			tmp = T - H[i] * 0.006;
			if(Math.abs(tmp - A) < ans) {
				ans = Math.abs(tmp - A);
				res = i;
			}
		} tmp = T - H[i] * 0.006 tmp T - H[i] * 0.006 T H[i] * 0.006 H[i] H i 0.006 if(Math.abs(tmp - A) < ans) {
				ans = Math.abs(tmp - A);
				res = i;
			} Math.abs(tmp - A) < ans Math.abs(tmp - A) Math.abs Math tmp - A tmp A ans {
				ans = Math.abs(tmp - A);
				res = i;
			} ans = Math.abs(tmp - A) ans Math.abs(tmp - A) Math.abs Math tmp - A tmp A res = i res i System.out.println(res + 1) System.out.println System.out System System.out res + 1 res 1 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();
		int A = sc.nextInt();
		double[] H = new double[N];
		for(int i = 0; i < N; i++) {
			H[i] = sc.nextInt();
		}
		double tmp = 2000000000;
		double ans = 2000000000;
		int res = 0;
		for(int i = 0; i < N; i++) {
			tmp = T - H[i] * 0.006;
			if(Math.abs(tmp - A) < ans) {
				ans = Math.abs(tmp - A);
				res = i;
			}
		}
		System.out.println(res + 1);
	}

} public class Main {

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

} 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();
		int A = sc.nextInt();
		double[] H = new double[N];
		for(int i = 0; i < N; i++) {
			H[i] = sc.nextInt();
		}
		double tmp = 2000000000;
		double ans = 2000000000;
		int res = 0;
		for(int i = 0; i < N; i++) {
			tmp = T - H[i] * 0.006;
			if(Math.abs(tmp - A) < ans) {
				ans = Math.abs(tmp - A);
				res = i;
			}
		}
		System.out.println(res + 1);
	}

}
