import java.util.Scanner;

public class Main {

	public static void main(String args[]) {
		Scanner t = new Scanner(System.in);
		int n = t.nextInt();
		int te = t.nextInt();
		int a = t.nextInt();
		double max = Math.abs((te - (t.nextInt()*0.006) - a));
		int pos = 1;
		for(int x=2;x<=n;x++){
			double h = (te - (t.nextInt()*0.006) - a);
			h = Math.abs(h);
			if (max >= h) {
				max = h;
				pos = x;
			}
		}		
		System.out.println(pos);
	}

} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String args[]) {
		Scanner t = new Scanner(System.in);
		int n = t.nextInt();
		int te = t.nextInt();
		int a = t.nextInt();
		double max = Math.abs((te - (t.nextInt()*0.006) - a));
		int pos = 1;
		for(int x=2;x<=n;x++){
			double h = (te - (t.nextInt()*0.006) - a);
			h = Math.abs(h);
			if (max >= h) {
				max = h;
				pos = x;
			}
		}		
		System.out.println(pos);
	}

} Main public static void main(String args[]) {
		Scanner t = new Scanner(System.in);
		int n = t.nextInt();
		int te = t.nextInt();
		int a = t.nextInt();
		double max = Math.abs((te - (t.nextInt()*0.006) - a));
		int pos = 1;
		for(int x=2;x<=n;x++){
			double h = (te - (t.nextInt()*0.006) - a);
			h = Math.abs(h);
			if (max >= h) {
				max = h;
				pos = x;
			}
		}		
		System.out.println(pos);
	} main {
		Scanner t = new Scanner(System.in);
		int n = t.nextInt();
		int te = t.nextInt();
		int a = t.nextInt();
		double max = Math.abs((te - (t.nextInt()*0.006) - a));
		int pos = 1;
		for(int x=2;x<=n;x++){
			double h = (te - (t.nextInt()*0.006) - a);
			h = Math.abs(h);
			if (max >= h) {
				max = h;
				pos = x;
			}
		}		
		System.out.println(pos);
	} Scanner t = new Scanner(System.in); t new Scanner(System.in) int n = t.nextInt(); n t.nextInt() t.nextInt t int te = t.nextInt(); te t.nextInt() t.nextInt t int a = t.nextInt(); a t.nextInt() t.nextInt t double max = Math.abs((te - (t.nextInt()*0.006) - a)); max Math.abs((te - (t.nextInt()*0.006) - a)) Math.abs Math (te - (t.nextInt()*0.006) - a) te - (t.nextInt()*0.006) - a te (t.nextInt()*0.006) t.nextInt() t.nextInt t 0.006 a int pos = 1; pos 1 for(int x=2;x<=n;x++){
			double h = (te - (t.nextInt()*0.006) - a);
			h = Math.abs(h);
			if (max >= h) {
				max = h;
				pos = x;
			}
		} int x=2; int x=2; x 2 x<=n x n x++ x++ x {
			double h = (te - (t.nextInt()*0.006) - a);
			h = Math.abs(h);
			if (max >= h) {
				max = h;
				pos = x;
			}
		} {
			double h = (te - (t.nextInt()*0.006) - a);
			h = Math.abs(h);
			if (max >= h) {
				max = h;
				pos = x;
			}
		} double h = (te - (t.nextInt()*0.006) - a); h (te - (t.nextInt()*0.006) - a) te - (t.nextInt()*0.006) - a te (t.nextInt()*0.006) t.nextInt() t.nextInt t 0.006 a h = Math.abs(h) h Math.abs(h) Math.abs Math h if (max >= h) {
				max = h;
				pos = x;
			} max >= h max h {
				max = h;
				pos = x;
			} max = h max h pos = x pos x System.out.println(pos) System.out.println System.out System System.out pos String args[] args public class Main {

	public static void main(String args[]) {
		Scanner t = new Scanner(System.in);
		int n = t.nextInt();
		int te = t.nextInt();
		int a = t.nextInt();
		double max = Math.abs((te - (t.nextInt()*0.006) - a));
		int pos = 1;
		for(int x=2;x<=n;x++){
			double h = (te - (t.nextInt()*0.006) - a);
			h = Math.abs(h);
			if (max >= h) {
				max = h;
				pos = x;
			}
		}		
		System.out.println(pos);
	}

} public class Main {

	public static void main(String args[]) {
		Scanner t = new Scanner(System.in);
		int n = t.nextInt();
		int te = t.nextInt();
		int a = t.nextInt();
		double max = Math.abs((te - (t.nextInt()*0.006) - a));
		int pos = 1;
		for(int x=2;x<=n;x++){
			double h = (te - (t.nextInt()*0.006) - a);
			h = Math.abs(h);
			if (max >= h) {
				max = h;
				pos = x;
			}
		}		
		System.out.println(pos);
	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String args[]) {
		Scanner t = new Scanner(System.in);
		int n = t.nextInt();
		int te = t.nextInt();
		int a = t.nextInt();
		double max = Math.abs((te - (t.nextInt()*0.006) - a));
		int pos = 1;
		for(int x=2;x<=n;x++){
			double h = (te - (t.nextInt()*0.006) - a);
			h = Math.abs(h);
			if (max >= h) {
				max = h;
				pos = x;
			}
		}		
		System.out.println(pos);
	}

}