import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int T = sc.nextInt();
		int A = sc.nextInt();

		double bestT = Double.MAX_VALUE;
		int bestId = 0;
		for (int i = 0; i < N; i++) {
			int H = sc.nextInt();
			double temp = T - H * 0.006;
			double def = Math.abs(A - temp);
			if (def < bestT) {
				bestT = def;
				bestId = i + 1;
			}
		}

		System.out.println(bestId);

		sc.close();
	}
} 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();
		int T = sc.nextInt();
		int A = sc.nextInt();

		double bestT = Double.MAX_VALUE;
		int bestId = 0;
		for (int i = 0; i < N; i++) {
			int H = sc.nextInt();
			double temp = T - H * 0.006;
			double def = Math.abs(A - temp);
			if (def < bestT) {
				bestT = def;
				bestId = i + 1;
			}
		}

		System.out.println(bestId);

		sc.close();
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int T = sc.nextInt();
		int A = sc.nextInt();

		double bestT = Double.MAX_VALUE;
		int bestId = 0;
		for (int i = 0; i < N; i++) {
			int H = sc.nextInt();
			double temp = T - H * 0.006;
			double def = Math.abs(A - temp);
			if (def < bestT) {
				bestT = def;
				bestId = i + 1;
			}
		}

		System.out.println(bestId);

		sc.close();
	} main {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int T = sc.nextInt();
		int A = sc.nextInt();

		double bestT = Double.MAX_VALUE;
		int bestId = 0;
		for (int i = 0; i < N; i++) {
			int H = sc.nextInt();
			double temp = T - H * 0.006;
			double def = Math.abs(A - temp);
			if (def < bestT) {
				bestT = def;
				bestId = i + 1;
			}
		}

		System.out.println(bestId);

		sc.close();
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int N = sc.nextInt(); N sc.nextInt() sc.nextInt sc int T = sc.nextInt(); T sc.nextInt() sc.nextInt sc int A = sc.nextInt(); A sc.nextInt() sc.nextInt sc double bestT = Double.MAX_VALUE; bestT Double.MAX_VALUE Double Double.MAX_VALUE int bestId = 0; bestId 0 for (int i = 0; i < N; i++) {
			int H = sc.nextInt();
			double temp = T - H * 0.006;
			double def = Math.abs(A - temp);
			if (def < bestT) {
				bestT = def;
				bestId = i + 1;
			}
		} int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
			int H = sc.nextInt();
			double temp = T - H * 0.006;
			double def = Math.abs(A - temp);
			if (def < bestT) {
				bestT = def;
				bestId = i + 1;
			}
		} {
			int H = sc.nextInt();
			double temp = T - H * 0.006;
			double def = Math.abs(A - temp);
			if (def < bestT) {
				bestT = def;
				bestId = i + 1;
			}
		} int H = sc.nextInt(); H sc.nextInt() sc.nextInt sc double temp = T - H * 0.006; temp T - H * 0.006 T H * 0.006 H 0.006 double def = Math.abs(A - temp); def Math.abs(A - temp) Math.abs Math A - temp A temp if (def < bestT) {
				bestT = def;
				bestId = i + 1;
			} def < bestT def bestT {
				bestT = def;
				bestId = i + 1;
			} bestT = def bestT def bestId = i + 1 bestId i + 1 i 1 System.out.println(bestId) System.out.println System.out System System.out bestId sc.close() sc.close sc String[] args args public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int T = sc.nextInt();
		int A = sc.nextInt();

		double bestT = Double.MAX_VALUE;
		int bestId = 0;
		for (int i = 0; i < N; i++) {
			int H = sc.nextInt();
			double temp = T - H * 0.006;
			double def = Math.abs(A - temp);
			if (def < bestT) {
				bestT = def;
				bestId = i + 1;
			}
		}

		System.out.println(bestId);

		sc.close();
	}
} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int T = sc.nextInt();
		int A = sc.nextInt();

		double bestT = Double.MAX_VALUE;
		int bestId = 0;
		for (int i = 0; i < N; i++) {
			int H = sc.nextInt();
			double temp = T - H * 0.006;
			double def = Math.abs(A - temp);
			if (def < bestT) {
				bestT = def;
				bestId = i + 1;
			}
		}

		System.out.println(bestId);

		sc.close();
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int T = sc.nextInt();
		int A = sc.nextInt();

		double bestT = Double.MAX_VALUE;
		int bestId = 0;
		for (int i = 0; i < N; i++) {
			int H = sc.nextInt();
			double temp = T - H * 0.006;
			double def = Math.abs(A - temp);
			if (def < bestT) {
				bestT = def;
				bestId = i + 1;
			}
		}

		System.out.println(bestId);

		sc.close();
	}
}