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 mindiff = Double.MAX_VALUE;
		
		int check = 0;
		int[] h = new int[n];
		
		for(int i = 0;i<n;i++) {
			h[i] =sc.nextInt();
			double T = t-h[i] * 0.006;
			double diff = Math.abs(a-T);
			if(mindiff > diff) {
				mindiff = diff;
				check = i;
			}
		}
		System.out.println(check+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();
		double mindiff = Double.MAX_VALUE;
		
		int check = 0;
		int[] h = new int[n];
		
		for(int i = 0;i<n;i++) {
			h[i] =sc.nextInt();
			double T = t-h[i] * 0.006;
			double diff = Math.abs(a-T);
			if(mindiff > diff) {
				mindiff = diff;
				check = i;
			}
		}
		System.out.println(check+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();
		double mindiff = Double.MAX_VALUE;
		
		int check = 0;
		int[] h = new int[n];
		
		for(int i = 0;i<n;i++) {
			h[i] =sc.nextInt();
			double T = t-h[i] * 0.006;
			double diff = Math.abs(a-T);
			if(mindiff > diff) {
				mindiff = diff;
				check = i;
			}
		}
		System.out.println(check+1);
	} main {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		
		int t = sc.nextInt();
		int a = sc.nextInt();
		double mindiff = Double.MAX_VALUE;
		
		int check = 0;
		int[] h = new int[n];
		
		for(int i = 0;i<n;i++) {
			h[i] =sc.nextInt();
			double T = t-h[i] * 0.006;
			double diff = Math.abs(a-T);
			if(mindiff > diff) {
				mindiff = diff;
				check = i;
			}
		}
		System.out.println(check+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 double mindiff = Double.MAX_VALUE; mindiff Double.MAX_VALUE Double Double.MAX_VALUE int check = 0; check 0 int[] h = new int[n]; h new int[n] n for(int i = 0;i<n;i++) {
			h[i] =sc.nextInt();
			double T = t-h[i] * 0.006;
			double diff = Math.abs(a-T);
			if(mindiff > diff) {
				mindiff = diff;
				check = i;
			}
		} int i = 0; int i = 0; i 0 i<n i n i++ i++ i {
			h[i] =sc.nextInt();
			double T = t-h[i] * 0.006;
			double diff = Math.abs(a-T);
			if(mindiff > diff) {
				mindiff = diff;
				check = i;
			}
		} {
			h[i] =sc.nextInt();
			double T = t-h[i] * 0.006;
			double diff = Math.abs(a-T);
			if(mindiff > diff) {
				mindiff = diff;
				check = i;
			}
		} h[i] =sc.nextInt() h[i] h i sc.nextInt() sc.nextInt sc double T = t-h[i] * 0.006; T t-h[i] * 0.006 t h[i] * 0.006 h[i] h i 0.006 double diff = Math.abs(a-T); diff Math.abs(a-T) Math.abs Math a-T a T if(mindiff > diff) {
				mindiff = diff;
				check = i;
			} mindiff > diff mindiff diff {
				mindiff = diff;
				check = i;
			} mindiff = diff mindiff diff check = i check i System.out.println(check+1) System.out.println System.out System System.out check+1 check 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();
		double mindiff = Double.MAX_VALUE;
		
		int check = 0;
		int[] h = new int[n];
		
		for(int i = 0;i<n;i++) {
			h[i] =sc.nextInt();
			double T = t-h[i] * 0.006;
			double diff = Math.abs(a-T);
			if(mindiff > diff) {
				mindiff = diff;
				check = i;
			}
		}
		System.out.println(check+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();
		double mindiff = Double.MAX_VALUE;
		
		int check = 0;
		int[] h = new int[n];
		
		for(int i = 0;i<n;i++) {
			h[i] =sc.nextInt();
			double T = t-h[i] * 0.006;
			double diff = Math.abs(a-T);
			if(mindiff > diff) {
				mindiff = diff;
				check = i;
			}
		}
		System.out.println(check+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();
		double mindiff = Double.MAX_VALUE;
		
		int check = 0;
		int[] h = new int[n];
		
		for(int i = 0;i<n;i++) {
			h[i] =sc.nextInt();
			double T = t-h[i] * 0.006;
			double diff = Math.abs(a-T);
			if(mindiff > diff) {
				mindiff = diff;
				check = i;
			}
		}
		System.out.println(check+1);
	}
}