import java.util.Arrays;
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];
		double[] t = new double[N];
		double[] sa = new double[N];
		double min = Math.pow(10, 6);
		int num = 10000;
		
		for(int i = 0; i < N; i++) {
			H[i] = sc.nextInt();
			t[i] = T - H[i] * 0.006;
			sa[i] = Math.abs(A - t[i]);
			
			if(min > sa[i]) {
				num = i + 1;
				min = sa[i];
			}
		}
		
		System.out.println(num);
		
	}
} import java.util.Arrays; Arrays java.util 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];
		double[] t = new double[N];
		double[] sa = new double[N];
		double min = Math.pow(10, 6);
		int num = 10000;
		
		for(int i = 0; i < N; i++) {
			H[i] = sc.nextInt();
			t[i] = T - H[i] * 0.006;
			sa[i] = Math.abs(A - t[i]);
			
			if(min > sa[i]) {
				num = i + 1;
				min = sa[i];
			}
		}
		
		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();
		int[] H = new int[N];
		double[] t = new double[N];
		double[] sa = new double[N];
		double min = Math.pow(10, 6);
		int num = 10000;
		
		for(int i = 0; i < N; i++) {
			H[i] = sc.nextInt();
			t[i] = T - H[i] * 0.006;
			sa[i] = Math.abs(A - t[i]);
			
			if(min > sa[i]) {
				num = i + 1;
				min = sa[i];
			}
		}
		
		System.out.println(num);
		
	} main {
		Scanner sc = new Scanner(System.in);
		
		int N = sc.nextInt();
		int T = sc.nextInt();
		int A = sc.nextInt();
		int[] H = new int[N];
		double[] t = new double[N];
		double[] sa = new double[N];
		double min = Math.pow(10, 6);
		int num = 10000;
		
		for(int i = 0; i < N; i++) {
			H[i] = sc.nextInt();
			t[i] = T - H[i] * 0.006;
			sa[i] = Math.abs(A - t[i]);
			
			if(min > sa[i]) {
				num = i + 1;
				min = sa[i];
			}
		}
		
		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 int[] H = new int[N]; H new int[N] N double[] t = new double[N]; t new double[N] N double[] sa = new double[N]; sa new double[N] N double min = Math.pow(10, 6); min Math.pow(10, 6) Math.pow Math 10 6 int num = 10000; num 10000 for(int i = 0; i < N; i++) {
			H[i] = sc.nextInt();
			t[i] = T - H[i] * 0.006;
			sa[i] = Math.abs(A - t[i]);
			
			if(min > sa[i]) {
				num = i + 1;
				min = sa[i];
			}
		} int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
			H[i] = sc.nextInt();
			t[i] = T - H[i] * 0.006;
			sa[i] = Math.abs(A - t[i]);
			
			if(min > sa[i]) {
				num = i + 1;
				min = sa[i];
			}
		} {
			H[i] = sc.nextInt();
			t[i] = T - H[i] * 0.006;
			sa[i] = Math.abs(A - t[i]);
			
			if(min > sa[i]) {
				num = i + 1;
				min = sa[i];
			}
		} H[i] = sc.nextInt() H[i] H i sc.nextInt() sc.nextInt sc t[i] = T - H[i] * 0.006 t[i] t i T - H[i] * 0.006 T H[i] * 0.006 H[i] H i 0.006 sa[i] = Math.abs(A - t[i]) sa[i] sa i Math.abs(A - t[i]) Math.abs Math A - t[i] A t[i] t i if(min > sa[i]) {
				num = i + 1;
				min = sa[i];
			} min > sa[i] min sa[i] sa i {
				num = i + 1;
				min = sa[i];
			} num = i + 1 num i + 1 i 1 min = sa[i] min sa[i] sa i 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();
		int[] H = new int[N];
		double[] t = new double[N];
		double[] sa = new double[N];
		double min = Math.pow(10, 6);
		int num = 10000;
		
		for(int i = 0; i < N; i++) {
			H[i] = sc.nextInt();
			t[i] = T - H[i] * 0.006;
			sa[i] = Math.abs(A - t[i]);
			
			if(min > sa[i]) {
				num = i + 1;
				min = sa[i];
			}
		}
		
		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();
		int[] H = new int[N];
		double[] t = new double[N];
		double[] sa = new double[N];
		double min = Math.pow(10, 6);
		int num = 10000;
		
		for(int i = 0; i < N; i++) {
			H[i] = sc.nextInt();
			t[i] = T - H[i] * 0.006;
			sa[i] = Math.abs(A - t[i]);
			
			if(min > sa[i]) {
				num = i + 1;
				min = sa[i];
			}
		}
		
		System.out.println(num);
		
	}
} Main
import java.util.Arrays;
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];
		double[] t = new double[N];
		double[] sa = new double[N];
		double min = Math.pow(10, 6);
		int num = 10000;
		
		for(int i = 0; i < N; i++) {
			H[i] = sc.nextInt();
			t[i] = T - H[i] * 0.006;
			sa[i] = Math.abs(A - t[i]);
			
			if(min > sa[i]) {
				num = i + 1;
				min = sa[i];
			}
		}
		
		System.out.println(num);
		
	}
}
