import java.util.Scanner;

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