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();
		int h[] = new int[n];

		for (int i = 0; i < n; i++) {
			h[i] = sc.nextInt();
		}

		double[] sa = new double[n];

		for (int i = 0; i < n; i++) {
			sa[i] = Math.abs(t - h[i] * 0.006 - a);
		}

		int kotae = 0;
		double hikaku = 2000000000;

		for (int j = 0; j < n; j++) {
			if (hikaku > sa[j]) {
				hikaku = sa[j];
				kotae = j;
			}

		}
		System.out.println(kotae + 1);
	}
} 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();
		int h[] = new int[n];

		for (int i = 0; i < n; i++) {
			h[i] = sc.nextInt();
		}

		double[] sa = new double[n];

		for (int i = 0; i < n; i++) {
			sa[i] = Math.abs(t - h[i] * 0.006 - a);
		}

		int kotae = 0;
		double hikaku = 2000000000;

		for (int j = 0; j < n; j++) {
			if (hikaku > sa[j]) {
				hikaku = sa[j];
				kotae = j;
			}

		}
		System.out.println(kotae + 1);
	}
} 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();
		int h[] = new int[n];

		for (int i = 0; i < n; i++) {
			h[i] = sc.nextInt();
		}

		double[] sa = new double[n];

		for (int i = 0; i < n; i++) {
			sa[i] = Math.abs(t - h[i] * 0.006 - a);
		}

		int kotae = 0;
		double hikaku = 2000000000;

		for (int j = 0; j < n; j++) {
			if (hikaku > sa[j]) {
				hikaku = sa[j];
				kotae = j;
			}

		}
		System.out.println(kotae + 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[] sa = new double[n];

		for (int i = 0; i < n; i++) {
			sa[i] = Math.abs(t - h[i] * 0.006 - a);
		}

		int kotae = 0;
		double hikaku = 2000000000;

		for (int j = 0; j < n; j++) {
			if (hikaku > sa[j]) {
				hikaku = sa[j];
				kotae = j;
			}

		}
		System.out.println(kotae + 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[] sa = new double[n]; sa new double[n] n for (int i = 0; i < n; i++) {
			sa[i] = Math.abs(t - h[i] * 0.006 - a);
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			sa[i] = Math.abs(t - h[i] * 0.006 - a);
		} {
			sa[i] = Math.abs(t - h[i] * 0.006 - a);
		} sa[i] = Math.abs(t - h[i] * 0.006 - a) sa[i] sa 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 int kotae = 0; kotae 0 double hikaku = 2000000000; hikaku 2000000000 for (int j = 0; j < n; j++) {
			if (hikaku > sa[j]) {
				hikaku = sa[j];
				kotae = j;
			}

		} int j = 0; int j = 0; j 0 j < n j n j++ j++ j {
			if (hikaku > sa[j]) {
				hikaku = sa[j];
				kotae = j;
			}

		} {
			if (hikaku > sa[j]) {
				hikaku = sa[j];
				kotae = j;
			}

		} if (hikaku > sa[j]) {
				hikaku = sa[j];
				kotae = j;
			} hikaku > sa[j] hikaku sa[j] sa j {
				hikaku = sa[j];
				kotae = j;
			} hikaku = sa[j] hikaku sa[j] sa j kotae = j kotae j System.out.println(kotae + 1) System.out.println System.out System System.out kotae + 1 kotae 1 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();
		int h[] = new int[n];

		for (int i = 0; i < n; i++) {
			h[i] = sc.nextInt();
		}

		double[] sa = new double[n];

		for (int i = 0; i < n; i++) {
			sa[i] = Math.abs(t - h[i] * 0.006 - a);
		}

		int kotae = 0;
		double hikaku = 2000000000;

		for (int j = 0; j < n; j++) {
			if (hikaku > sa[j]) {
				hikaku = sa[j];
				kotae = j;
			}

		}
		System.out.println(kotae + 1);
	}
} 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();
		int h[] = new int[n];

		for (int i = 0; i < n; i++) {
			h[i] = sc.nextInt();
		}

		double[] sa = new double[n];

		for (int i = 0; i < n; i++) {
			sa[i] = Math.abs(t - h[i] * 0.006 - a);
		}

		int kotae = 0;
		double hikaku = 2000000000;

		for (int j = 0; j < n; j++) {
			if (hikaku > sa[j]) {
				hikaku = sa[j];
				kotae = j;
			}

		}
		System.out.println(kotae + 1);
	}
} 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();
		int h[] = new int[n];

		for (int i = 0; i < n; i++) {
			h[i] = sc.nextInt();
		}

		double[] sa = new double[n];

		for (int i = 0; i < n; i++) {
			sa[i] = Math.abs(t - h[i] * 0.006 - a);
		}

		int kotae = 0;
		double hikaku = 2000000000;

		for (int j = 0; j < n; j++) {
			if (hikaku > sa[j]) {
				hikaku = sa[j];
				kotae = j;
			}

		}
		System.out.println(kotae + 1);
	}
}
