import java.util.Scanner;

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

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