import java.util.Scanner;

public class Main {

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

} import java.util.Scanner; Scanner java.util public class Main {

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

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

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

} public class Main {

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

} Main
import java.util.Scanner;

public class Main {

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

}
