import java.util.Scanner;

class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt(), ans = 0;
		double T = sc.nextDouble(), A = sc.nextDouble(), H[] = new double[N], min = Double.MAX_VALUE;
		for (int i = 0; i < N; ++i) {
			H[i] = sc.nextDouble();
			H[i] = T - H[i] * .006;
			if (Math.abs(A - H[i]) < min) {
				min = Math.abs(A - H[i]);
				ans = i + 1;
			}
		}
		sc.close();
		System.out.print(ans);
	}
} 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(), ans = 0;
		double T = sc.nextDouble(), A = sc.nextDouble(), H[] = new double[N], min = Double.MAX_VALUE;
		for (int i = 0; i < N; ++i) {
			H[i] = sc.nextDouble();
			H[i] = T - H[i] * .006;
			if (Math.abs(A - H[i]) < min) {
				min = Math.abs(A - H[i]);
				ans = i + 1;
			}
		}
		sc.close();
		System.out.print(ans);
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt(), ans = 0;
		double T = sc.nextDouble(), A = sc.nextDouble(), H[] = new double[N], min = Double.MAX_VALUE;
		for (int i = 0; i < N; ++i) {
			H[i] = sc.nextDouble();
			H[i] = T - H[i] * .006;
			if (Math.abs(A - H[i]) < min) {
				min = Math.abs(A - H[i]);
				ans = i + 1;
			}
		}
		sc.close();
		System.out.print(ans);
	} main {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt(), ans = 0;
		double T = sc.nextDouble(), A = sc.nextDouble(), H[] = new double[N], min = Double.MAX_VALUE;
		for (int i = 0; i < N; ++i) {
			H[i] = sc.nextDouble();
			H[i] = T - H[i] * .006;
			if (Math.abs(A - H[i]) < min) {
				min = Math.abs(A - H[i]);
				ans = i + 1;
			}
		}
		sc.close();
		System.out.print(ans);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int N = sc.nextInt() N sc.nextInt() sc.nextInt sc ans = 0; ans 0 double T = sc.nextDouble() T sc.nextDouble() sc.nextDouble sc A = sc.nextDouble() A sc.nextDouble() sc.nextDouble sc H[] = new double[N] H new double[N] N min = Double.MAX_VALUE; min Double.MAX_VALUE Double Double.MAX_VALUE for (int i = 0; i < N; ++i) {
			H[i] = sc.nextDouble();
			H[i] = T - H[i] * .006;
			if (Math.abs(A - H[i]) < min) {
				min = Math.abs(A - H[i]);
				ans = i + 1;
			}
		} int i = 0; int i = 0; i 0 i < N i N ++i ++i i {
			H[i] = sc.nextDouble();
			H[i] = T - H[i] * .006;
			if (Math.abs(A - H[i]) < min) {
				min = Math.abs(A - H[i]);
				ans = i + 1;
			}
		} {
			H[i] = sc.nextDouble();
			H[i] = T - H[i] * .006;
			if (Math.abs(A - H[i]) < min) {
				min = Math.abs(A - H[i]);
				ans = i + 1;
			}
		} H[i] = sc.nextDouble() H[i] H i sc.nextDouble() sc.nextDouble sc H[i] = T - H[i] * .006 H[i] H i T - H[i] * .006 T H[i] * .006 H[i] H i .006 if (Math.abs(A - H[i]) < min) {
				min = Math.abs(A - H[i]);
				ans = i + 1;
			} Math.abs(A - H[i]) < min Math.abs(A - H[i]) Math.abs Math A - H[i] A H[i] H i min {
				min = Math.abs(A - H[i]);
				ans = i + 1;
			} min = Math.abs(A - H[i]) min Math.abs(A - H[i]) Math.abs Math A - H[i] A H[i] H i ans = i + 1 ans i + 1 i 1 sc.close() sc.close sc System.out.print(ans) System.out.print System.out System System.out ans 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(), ans = 0;
		double T = sc.nextDouble(), A = sc.nextDouble(), H[] = new double[N], min = Double.MAX_VALUE;
		for (int i = 0; i < N; ++i) {
			H[i] = sc.nextDouble();
			H[i] = T - H[i] * .006;
			if (Math.abs(A - H[i]) < min) {
				min = Math.abs(A - H[i]);
				ans = i + 1;
			}
		}
		sc.close();
		System.out.print(ans);
	}
}