import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		try (Scanner sc = new Scanner(System.in)) {
			int n = sc.nextInt();
			double t = sc.nextDouble();
			double a = sc.nextDouble();
			double h[] = new double[n];
			double p[] = new double[n];
			double tmp = 1000000;
			int ans = 0;
			for (int i = 0; i < n; i++) {
				h[i] = sc.nextDouble();
				p[i] = Math.abs(t - h[i] * 0.006 - a);
				if (tmp > p[i]) {
					tmp = p[i];
					ans = i + 1;
				}
			}
			System.out.println(ans);
		}
	}
} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {

		try (Scanner sc = new Scanner(System.in)) {
			int n = sc.nextInt();
			double t = sc.nextDouble();
			double a = sc.nextDouble();
			double h[] = new double[n];
			double p[] = new double[n];
			double tmp = 1000000;
			int ans = 0;
			for (int i = 0; i < n; i++) {
				h[i] = sc.nextDouble();
				p[i] = Math.abs(t - h[i] * 0.006 - a);
				if (tmp > p[i]) {
					tmp = p[i];
					ans = i + 1;
				}
			}
			System.out.println(ans);
		}
	}
} Main public static void main(String[] args) {

		try (Scanner sc = new Scanner(System.in)) {
			int n = sc.nextInt();
			double t = sc.nextDouble();
			double a = sc.nextDouble();
			double h[] = new double[n];
			double p[] = new double[n];
			double tmp = 1000000;
			int ans = 0;
			for (int i = 0; i < n; i++) {
				h[i] = sc.nextDouble();
				p[i] = Math.abs(t - h[i] * 0.006 - a);
				if (tmp > p[i]) {
					tmp = p[i];
					ans = i + 1;
				}
			}
			System.out.println(ans);
		}
	} main {

		try (Scanner sc = new Scanner(System.in)) {
			int n = sc.nextInt();
			double t = sc.nextDouble();
			double a = sc.nextDouble();
			double h[] = new double[n];
			double p[] = new double[n];
			double tmp = 1000000;
			int ans = 0;
			for (int i = 0; i < n; i++) {
				h[i] = sc.nextDouble();
				p[i] = Math.abs(t - h[i] * 0.006 - a);
				if (tmp > p[i]) {
					tmp = p[i];
					ans = i + 1;
				}
			}
			System.out.println(ans);
		}
	} try (Scanner sc = new Scanner(System.in)) {
			int n = sc.nextInt();
			double t = sc.nextDouble();
			double a = sc.nextDouble();
			double h[] = new double[n];
			double p[] = new double[n];
			double tmp = 1000000;
			int ans = 0;
			for (int i = 0; i < n; i++) {
				h[i] = sc.nextDouble();
				p[i] = Math.abs(t - h[i] * 0.006 - a);
				if (tmp > p[i]) {
					tmp = p[i];
					ans = i + 1;
				}
			}
			System.out.println(ans);
		} {
			int n = sc.nextInt();
			double t = sc.nextDouble();
			double a = sc.nextDouble();
			double h[] = new double[n];
			double p[] = new double[n];
			double tmp = 1000000;
			int ans = 0;
			for (int i = 0; i < n; i++) {
				h[i] = sc.nextDouble();
				p[i] = Math.abs(t - h[i] * 0.006 - a);
				if (tmp > p[i]) {
					tmp = p[i];
					ans = i + 1;
				}
			}
			System.out.println(ans);
		} Scanner sc = new Scanner(System.in) Scanner sc = new Scanner(System.in) new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc double t = sc.nextDouble(); t sc.nextDouble() sc.nextDouble sc double a = sc.nextDouble(); a sc.nextDouble() sc.nextDouble sc double h[] = new double[n]; h new double[n] n double p[] = new double[n]; p new double[n] n double tmp = 1000000; tmp 1000000 int ans = 0; ans 0 for (int i = 0; i < n; i++) {
				h[i] = sc.nextDouble();
				p[i] = Math.abs(t - h[i] * 0.006 - a);
				if (tmp > p[i]) {
					tmp = p[i];
					ans = i + 1;
				}
			} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
				h[i] = sc.nextDouble();
				p[i] = Math.abs(t - h[i] * 0.006 - a);
				if (tmp > p[i]) {
					tmp = p[i];
					ans = i + 1;
				}
			} {
				h[i] = sc.nextDouble();
				p[i] = Math.abs(t - h[i] * 0.006 - a);
				if (tmp > p[i]) {
					tmp = p[i];
					ans = i + 1;
				}
			} h[i] = sc.nextDouble() h[i] h i sc.nextDouble() sc.nextDouble sc p[i] = Math.abs(t - h[i] * 0.006 - a) p[i] p i 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 if (tmp > p[i]) {
					tmp = p[i];
					ans = i + 1;
				} tmp > p[i] tmp p[i] p i {
					tmp = p[i];
					ans = i + 1;
				} tmp = p[i] tmp p[i] p i ans = i + 1 ans i + 1 i 1 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) {

		try (Scanner sc = new Scanner(System.in)) {
			int n = sc.nextInt();
			double t = sc.nextDouble();
			double a = sc.nextDouble();
			double h[] = new double[n];
			double p[] = new double[n];
			double tmp = 1000000;
			int ans = 0;
			for (int i = 0; i < n; i++) {
				h[i] = sc.nextDouble();
				p[i] = Math.abs(t - h[i] * 0.006 - a);
				if (tmp > p[i]) {
					tmp = p[i];
					ans = i + 1;
				}
			}
			System.out.println(ans);
		}
	}
} public class Main {

	public static void main(String[] args) {

		try (Scanner sc = new Scanner(System.in)) {
			int n = sc.nextInt();
			double t = sc.nextDouble();
			double a = sc.nextDouble();
			double h[] = new double[n];
			double p[] = new double[n];
			double tmp = 1000000;
			int ans = 0;
			for (int i = 0; i < n; i++) {
				h[i] = sc.nextDouble();
				p[i] = Math.abs(t - h[i] * 0.006 - a);
				if (tmp > p[i]) {
					tmp = p[i];
					ans = i + 1;
				}
			}
			System.out.println(ans);
		}
	}
} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		try (Scanner sc = new Scanner(System.in)) {
			int n = sc.nextInt();
			double t = sc.nextDouble();
			double a = sc.nextDouble();
			double h[] = new double[n];
			double p[] = new double[n];
			double tmp = 1000000;
			int ans = 0;
			for (int i = 0; i < n; i++) {
				h[i] = sc.nextDouble();
				p[i] = Math.abs(t - h[i] * 0.006 - a);
				if (tmp > p[i]) {
					tmp = p[i];
					ans = i + 1;
				}
			}
			System.out.println(ans);
		}
	}
}