import 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 near = Double.MAX_VALUE;
    	int num = 0;
    	for (int i = 0; i < N; i++) {
    		double tmp = (T - sc.nextInt() * 0.006) - A;
    		if (Math.abs(tmp) < near) {
    			near = Math.abs(tmp);
    			num = i + 1;
    		}
    	}
    	System.out.println(num);
    }
} import java.util.*; util.* java 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 near = Double.MAX_VALUE;
    	int num = 0;
    	for (int i = 0; i < N; i++) {
    		double tmp = (T - sc.nextInt() * 0.006) - A;
    		if (Math.abs(tmp) < near) {
    			near = Math.abs(tmp);
    			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 near = Double.MAX_VALUE;
    	int num = 0;
    	for (int i = 0; i < N; i++) {
    		double tmp = (T - sc.nextInt() * 0.006) - A;
    		if (Math.abs(tmp) < near) {
    			near = Math.abs(tmp);
    			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 near = Double.MAX_VALUE;
    	int num = 0;
    	for (int i = 0; i < N; i++) {
    		double tmp = (T - sc.nextInt() * 0.006) - A;
    		if (Math.abs(tmp) < near) {
    			near = Math.abs(tmp);
    			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 near = Double.MAX_VALUE; near Double.MAX_VALUE Double Double.MAX_VALUE int num = 0; num 0 for (int i = 0; i < N; i++) {
    		double tmp = (T - sc.nextInt() * 0.006) - A;
    		if (Math.abs(tmp) < near) {
    			near = Math.abs(tmp);
    			num = i + 1;
    		}
    	} int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
    		double tmp = (T - sc.nextInt() * 0.006) - A;
    		if (Math.abs(tmp) < near) {
    			near = Math.abs(tmp);
    			num = i + 1;
    		}
    	} {
    		double tmp = (T - sc.nextInt() * 0.006) - A;
    		if (Math.abs(tmp) < near) {
    			near = Math.abs(tmp);
    			num = i + 1;
    		}
    	} double tmp = (T - sc.nextInt() * 0.006) - A; tmp (T - sc.nextInt() * 0.006) - A (T - sc.nextInt() * 0.006) T sc.nextInt() * 0.006 sc.nextInt() sc.nextInt sc 0.006 A if (Math.abs(tmp) < near) {
    			near = Math.abs(tmp);
    			num = i + 1;
    		} Math.abs(tmp) < near Math.abs(tmp) Math.abs Math tmp near {
    			near = Math.abs(tmp);
    			num = i + 1;
    		} near = Math.abs(tmp) near Math.abs(tmp) Math.abs Math tmp 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 near = Double.MAX_VALUE;
    	int num = 0;
    	for (int i = 0; i < N; i++) {
    		double tmp = (T - sc.nextInt() * 0.006) - A;
    		if (Math.abs(tmp) < near) {
    			near = Math.abs(tmp);
    			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 near = Double.MAX_VALUE;
    	int num = 0;
    	for (int i = 0; i < N; i++) {
    		double tmp = (T - sc.nextInt() * 0.006) - A;
    		if (Math.abs(tmp) < near) {
    			near = Math.abs(tmp);
    			num = i + 1;
    		}
    	}
    	System.out.println(num);
    }
} Main
import 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 near = Double.MAX_VALUE;
    	int num = 0;
    	for (int i = 0; i < N; i++) {
    		double tmp = (T - sc.nextInt() * 0.006) - A;
    		if (Math.abs(tmp) < near) {
    			near = Math.abs(tmp);
    			num = i + 1;
    		}
    	}
    	System.out.println(num);
    }
}