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 min= 100000;
		int num = 0;
		for (int i=0;i<N;i++) {
			int temp = sc.nextInt();
			double re = Math.abs(A-(T-temp *0.006));
			if (re<min) {
				min = re;
				num =i+1;
			}
		}
		System.out.println(num);
	}
} 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 min= 100000;
		int num = 0;
		for (int i=0;i<N;i++) {
			int temp = sc.nextInt();
			double re = Math.abs(A-(T-temp *0.006));
			if (re<min) {
				min = re;
				num =i+1;
			}
		}
		System.out.println(num);
	}
} 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 min= 100000;
		int num = 0;
		for (int i=0;i<N;i++) {
			int temp = sc.nextInt();
			double re = Math.abs(A-(T-temp *0.006));
			if (re<min) {
				min = re;
				num =i+1;
			}
		}
		System.out.println(num);
	} main {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int T = sc.nextInt();
		int A = sc.nextInt();
		double min= 100000;
		int num = 0;
		for (int i=0;i<N;i++) {
			int temp = sc.nextInt();
			double re = Math.abs(A-(T-temp *0.006));
			if (re<min) {
				min = re;
				num =i+1;
			}
		}
		System.out.println(num);
	} 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 min= 100000; min 100000 int num = 0; num 0 for (int i=0;i<N;i++) {
			int temp = sc.nextInt();
			double re = Math.abs(A-(T-temp *0.006));
			if (re<min) {
				min = re;
				num =i+1;
			}
		} int i=0; int i=0; i 0 i<N i N i++ i++ i {
			int temp = sc.nextInt();
			double re = Math.abs(A-(T-temp *0.006));
			if (re<min) {
				min = re;
				num =i+1;
			}
		} {
			int temp = sc.nextInt();
			double re = Math.abs(A-(T-temp *0.006));
			if (re<min) {
				min = re;
				num =i+1;
			}
		} int temp = sc.nextInt(); temp sc.nextInt() sc.nextInt sc double re = Math.abs(A-(T-temp *0.006)); re Math.abs(A-(T-temp *0.006)) Math.abs Math A-(T-temp *0.006) A (T-temp *0.006) T temp *0.006 temp 0.006 if (re<min) {
				min = re;
				num =i+1;
			} re<min re min {
				min = re;
				num =i+1;
			} min = re min re num =i+1 num i+1 i 1 System.out.println(num) System.out.println System.out System System.out num 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 min= 100000;
		int num = 0;
		for (int i=0;i<N;i++) {
			int temp = sc.nextInt();
			double re = Math.abs(A-(T-temp *0.006));
			if (re<min) {
				min = re;
				num =i+1;
			}
		}
		System.out.println(num);
	}
} 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 min= 100000;
		int num = 0;
		for (int i=0;i<N;i++) {
			int temp = sc.nextInt();
			double re = Math.abs(A-(T-temp *0.006));
			if (re<min) {
				min = re;
				num =i+1;
			}
		}
		System.out.println(num);
	}
} 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 min= 100000;
		int num = 0;
		for (int i=0;i<N;i++) {
			int temp = sc.nextInt();
			double re = Math.abs(A-(T-temp *0.006));
			if (re<min) {
				min = re;
				num =i+1;
			}
		}
		System.out.println(num);
	}
}