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 h[] = new double[N];
		Double min = Double.MAX_VALUE;

		int ans = 0;

		for (int i = 0; i < N; i++) {
			h[i] = sc.nextInt();
			double tmp = Math.abs(T - h[i]*0.006 - A);
			if (tmp <= min) {
				min = tmp;
				ans = i+1;
			}
		}
		System.out.println(ans);
	}
} 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 h[] = new double[N];
		Double min = Double.MAX_VALUE;

		int ans = 0;

		for (int i = 0; i < N; i++) {
			h[i] = sc.nextInt();
			double tmp = Math.abs(T - h[i]*0.006 - A);
			if (tmp <= min) {
				min = tmp;
				ans = i+1;
			}
		}
		System.out.println(ans);
	}
} 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 h[] = new double[N];
		Double min = Double.MAX_VALUE;

		int ans = 0;

		for (int i = 0; i < N; i++) {
			h[i] = sc.nextInt();
			double tmp = Math.abs(T - h[i]*0.006 - A);
			if (tmp <= min) {
				min = tmp;
				ans = i+1;
			}
		}
		System.out.println(ans);
	} main {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int T = sc.nextInt();
		int A = sc.nextInt();
		double h[] = new double[N];
		Double min = Double.MAX_VALUE;

		int ans = 0;

		for (int i = 0; i < N; i++) {
			h[i] = sc.nextInt();
			double tmp = Math.abs(T - h[i]*0.006 - A);
			if (tmp <= min) {
				min = tmp;
				ans = i+1;
			}
		}
		System.out.println(ans);
	} 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 h[] = new double[N]; h new double[N] N Double min = Double.MAX_VALUE; min Double.MAX_VALUE Double Double.MAX_VALUE int ans = 0; ans 0 for (int i = 0; i < N; i++) {
			h[i] = sc.nextInt();
			double tmp = Math.abs(T - h[i]*0.006 - A);
			if (tmp <= min) {
				min = tmp;
				ans = i+1;
			}
		} int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
			h[i] = sc.nextInt();
			double tmp = Math.abs(T - h[i]*0.006 - A);
			if (tmp <= min) {
				min = tmp;
				ans = i+1;
			}
		} {
			h[i] = sc.nextInt();
			double tmp = Math.abs(T - h[i]*0.006 - A);
			if (tmp <= min) {
				min = tmp;
				ans = i+1;
			}
		} h[i] = sc.nextInt() h[i] h i sc.nextInt() sc.nextInt sc double tmp = Math.abs(T - h[i]*0.006 - A); tmp 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 <= min) {
				min = tmp;
				ans = i+1;
			} tmp <= min tmp min {
				min = tmp;
				ans = i+1;
			} min = tmp min tmp 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) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int T = sc.nextInt();
		int A = sc.nextInt();
		double h[] = new double[N];
		Double min = Double.MAX_VALUE;

		int ans = 0;

		for (int i = 0; i < N; i++) {
			h[i] = sc.nextInt();
			double tmp = Math.abs(T - h[i]*0.006 - A);
			if (tmp <= min) {
				min = tmp;
				ans = i+1;
			}
		}
		System.out.println(ans);
	}
} 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 h[] = new double[N];
		Double min = Double.MAX_VALUE;

		int ans = 0;

		for (int i = 0; i < N; i++) {
			h[i] = sc.nextInt();
			double tmp = Math.abs(T - h[i]*0.006 - A);
			if (tmp <= min) {
				min = tmp;
				ans = i+1;
			}
		}
		System.out.println(ans);
	}
} 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 h[] = new double[N];
		Double min = Double.MAX_VALUE;

		int ans = 0;

		for (int i = 0; i < N; i++) {
			h[i] = sc.nextInt();
			double tmp = Math.abs(T - h[i]*0.006 - A);
			if (tmp <= min) {
				min = tmp;
				ans = i+1;
			}
		}
		System.out.println(ans);
	}
}
