import java.util.Scanner;

public class Main {
    public static void main(String[] args) throws Exception {
    	try(Scanner sc = new Scanner(System.in)) {

    		int N = sc.nextInt();
    		double T = sc.nextDouble();
    		double A = sc.nextDouble();
    		int town = 1;
    		double min = 10000000;
    		for(int i=1; i<=N; i++) {
    			double h = sc.nextDouble();
    			h = T - h*0.006;
    			if(min > Math.abs(A - h)) {
    				town = i;
    				min = Math.abs(A - h);
    			}
    		}
    		System.out.println(town);

    	}
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) throws Exception {
    	try(Scanner sc = new Scanner(System.in)) {

    		int N = sc.nextInt();
    		double T = sc.nextDouble();
    		double A = sc.nextDouble();
    		int town = 1;
    		double min = 10000000;
    		for(int i=1; i<=N; i++) {
    			double h = sc.nextDouble();
    			h = T - h*0.006;
    			if(min > Math.abs(A - h)) {
    				town = i;
    				min = Math.abs(A - h);
    			}
    		}
    		System.out.println(town);

    	}
    }
} Main public static void main(String[] args) throws Exception {
    	try(Scanner sc = new Scanner(System.in)) {

    		int N = sc.nextInt();
    		double T = sc.nextDouble();
    		double A = sc.nextDouble();
    		int town = 1;
    		double min = 10000000;
    		for(int i=1; i<=N; i++) {
    			double h = sc.nextDouble();
    			h = T - h*0.006;
    			if(min > Math.abs(A - h)) {
    				town = i;
    				min = Math.abs(A - h);
    			}
    		}
    		System.out.println(town);

    	}
    } main {
    	try(Scanner sc = new Scanner(System.in)) {

    		int N = sc.nextInt();
    		double T = sc.nextDouble();
    		double A = sc.nextDouble();
    		int town = 1;
    		double min = 10000000;
    		for(int i=1; i<=N; i++) {
    			double h = sc.nextDouble();
    			h = T - h*0.006;
    			if(min > Math.abs(A - h)) {
    				town = i;
    				min = Math.abs(A - h);
    			}
    		}
    		System.out.println(town);

    	}
    } try(Scanner sc = new Scanner(System.in)) {

    		int N = sc.nextInt();
    		double T = sc.nextDouble();
    		double A = sc.nextDouble();
    		int town = 1;
    		double min = 10000000;
    		for(int i=1; i<=N; i++) {
    			double h = sc.nextDouble();
    			h = T - h*0.006;
    			if(min > Math.abs(A - h)) {
    				town = i;
    				min = Math.abs(A - h);
    			}
    		}
    		System.out.println(town);

    	} {

    		int N = sc.nextInt();
    		double T = sc.nextDouble();
    		double A = sc.nextDouble();
    		int town = 1;
    		double min = 10000000;
    		for(int i=1; i<=N; i++) {
    			double h = sc.nextDouble();
    			h = T - h*0.006;
    			if(min > Math.abs(A - h)) {
    				town = i;
    				min = Math.abs(A - h);
    			}
    		}
    		System.out.println(town);

    	} Scanner sc = new Scanner(System.in) Scanner sc = new Scanner(System.in) new Scanner(System.in) int N = sc.nextInt(); N sc.nextInt() sc.nextInt sc double T = sc.nextDouble(); T sc.nextDouble() sc.nextDouble sc double A = sc.nextDouble(); A sc.nextDouble() sc.nextDouble sc int town = 1; town 1 double min = 10000000; min 10000000 for(int i=1; i<=N; i++) {
    			double h = sc.nextDouble();
    			h = T - h*0.006;
    			if(min > Math.abs(A - h)) {
    				town = i;
    				min = Math.abs(A - h);
    			}
    		} int i=1; int i=1; i 1 i<=N i N i++ i++ i {
    			double h = sc.nextDouble();
    			h = T - h*0.006;
    			if(min > Math.abs(A - h)) {
    				town = i;
    				min = Math.abs(A - h);
    			}
    		} {
    			double h = sc.nextDouble();
    			h = T - h*0.006;
    			if(min > Math.abs(A - h)) {
    				town = i;
    				min = Math.abs(A - h);
    			}
    		} double h = sc.nextDouble(); h sc.nextDouble() sc.nextDouble sc h = T - h*0.006 h T - h*0.006 T h*0.006 h 0.006 if(min > Math.abs(A - h)) {
    				town = i;
    				min = Math.abs(A - h);
    			} min > Math.abs(A - h) min Math.abs(A - h) Math.abs Math A - h A h {
    				town = i;
    				min = Math.abs(A - h);
    			} town = i town i min = Math.abs(A - h) min Math.abs(A - h) Math.abs Math A - h A h System.out.println(town) System.out.println System.out System System.out town String[] args args public class Main {
    public static void main(String[] args) throws Exception {
    	try(Scanner sc = new Scanner(System.in)) {

    		int N = sc.nextInt();
    		double T = sc.nextDouble();
    		double A = sc.nextDouble();
    		int town = 1;
    		double min = 10000000;
    		for(int i=1; i<=N; i++) {
    			double h = sc.nextDouble();
    			h = T - h*0.006;
    			if(min > Math.abs(A - h)) {
    				town = i;
    				min = Math.abs(A - h);
    			}
    		}
    		System.out.println(town);

    	}
    }
} public class Main {
    public static void main(String[] args) throws Exception {
    	try(Scanner sc = new Scanner(System.in)) {

    		int N = sc.nextInt();
    		double T = sc.nextDouble();
    		double A = sc.nextDouble();
    		int town = 1;
    		double min = 10000000;
    		for(int i=1; i<=N; i++) {
    			double h = sc.nextDouble();
    			h = T - h*0.006;
    			if(min > Math.abs(A - h)) {
    				town = i;
    				min = Math.abs(A - h);
    			}
    		}
    		System.out.println(town);

    	}
    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] args) throws Exception {
    	try(Scanner sc = new Scanner(System.in)) {

    		int N = sc.nextInt();
    		double T = sc.nextDouble();
    		double A = sc.nextDouble();
    		int town = 1;
    		double min = 10000000;
    		for(int i=1; i<=N; i++) {
    			double h = sc.nextDouble();
    			h = T - h*0.006;
    			if(min > Math.abs(A - h)) {
    				town = i;
    				min = Math.abs(A - h);
    			}
    		}
    		System.out.println(town);

    	}
    }
}
