import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		double t = sc.nextDouble();
		double a = sc.nextDouble();
		int[] arr = new int[n];
		double min = Double.MAX_VALUE;
		int res = -1;
		for (int i = 0; i<n; i++) {
			double tmp = Math.abs(a - (t - 0.006 * sc.nextInt()));
			if (tmp < min) {
				res = i+1;
				min = tmp;
			}
		}
		System.out.println(res);

	}
} 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();
		double t = sc.nextDouble();
		double a = sc.nextDouble();
		int[] arr = new int[n];
		double min = Double.MAX_VALUE;
		int res = -1;
		for (int i = 0; i<n; i++) {
			double tmp = Math.abs(a - (t - 0.006 * sc.nextInt()));
			if (tmp < min) {
				res = i+1;
				min = tmp;
			}
		}
		System.out.println(res);

	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		double t = sc.nextDouble();
		double a = sc.nextDouble();
		int[] arr = new int[n];
		double min = Double.MAX_VALUE;
		int res = -1;
		for (int i = 0; i<n; i++) {
			double tmp = Math.abs(a - (t - 0.006 * sc.nextInt()));
			if (tmp < min) {
				res = i+1;
				min = tmp;
			}
		}
		System.out.println(res);

	} main {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		double t = sc.nextDouble();
		double a = sc.nextDouble();
		int[] arr = new int[n];
		double min = Double.MAX_VALUE;
		int res = -1;
		for (int i = 0; i<n; i++) {
			double tmp = Math.abs(a - (t - 0.006 * sc.nextInt()));
			if (tmp < min) {
				res = i+1;
				min = tmp;
			}
		}
		System.out.println(res);

	} Scanner sc = new Scanner(System.in); sc 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 int[] arr = new int[n]; arr new int[n] n double min = Double.MAX_VALUE; min Double.MAX_VALUE Double Double.MAX_VALUE int res = -1; res -1 1 for (int i = 0; i<n; i++) {
			double tmp = Math.abs(a - (t - 0.006 * sc.nextInt()));
			if (tmp < min) {
				res = i+1;
				min = tmp;
			}
		} int i = 0; int i = 0; i 0 i<n i n i++ i++ i {
			double tmp = Math.abs(a - (t - 0.006 * sc.nextInt()));
			if (tmp < min) {
				res = i+1;
				min = tmp;
			}
		} {
			double tmp = Math.abs(a - (t - 0.006 * sc.nextInt()));
			if (tmp < min) {
				res = i+1;
				min = tmp;
			}
		} double tmp = Math.abs(a - (t - 0.006 * sc.nextInt())); tmp Math.abs(a - (t - 0.006 * sc.nextInt())) Math.abs Math a - (t - 0.006 * sc.nextInt()) a (t - 0.006 * sc.nextInt()) t 0.006 * sc.nextInt() 0.006 sc.nextInt() sc.nextInt sc if (tmp < min) {
				res = i+1;
				min = tmp;
			} tmp < min tmp min {
				res = i+1;
				min = tmp;
			} res = i+1 res i+1 i 1 min = tmp min tmp System.out.println(res) System.out.println System.out System System.out res String[] args args public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		double t = sc.nextDouble();
		double a = sc.nextDouble();
		int[] arr = new int[n];
		double min = Double.MAX_VALUE;
		int res = -1;
		for (int i = 0; i<n; i++) {
			double tmp = Math.abs(a - (t - 0.006 * sc.nextInt()));
			if (tmp < min) {
				res = i+1;
				min = tmp;
			}
		}
		System.out.println(res);

	}
} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		double t = sc.nextDouble();
		double a = sc.nextDouble();
		int[] arr = new int[n];
		double min = Double.MAX_VALUE;
		int res = -1;
		for (int i = 0; i<n; i++) {
			double tmp = Math.abs(a - (t - 0.006 * sc.nextInt()));
			if (tmp < min) {
				res = i+1;
				min = tmp;
			}
		}
		System.out.println(res);

	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		double t = sc.nextDouble();
		double a = sc.nextDouble();
		int[] arr = new int[n];
		double min = Double.MAX_VALUE;
		int res = -1;
		for (int i = 0; i<n; i++) {
			double tmp = Math.abs(a - (t - 0.006 * sc.nextInt()));
			if (tmp < min) {
				res = i+1;
				min = tmp;
			}
		}
		System.out.println(res);

	}
}
