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 = 0;

		int result = 0;
		double min = Double.MAX_VALUE;
		for (int i=1; i<=n; i++) {
			h = sc.nextInt();
			if (Math.abs(t-h*0.006-a) < min) {
				min = Math.abs(t-h*0.006-a);
				result = i;	
			}
		}
		System.out.print(result);
    }
} 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 = 0;

		int result = 0;
		double min = Double.MAX_VALUE;
		for (int i=1; i<=n; i++) {
			h = sc.nextInt();
			if (Math.abs(t-h*0.006-a) < min) {
				min = Math.abs(t-h*0.006-a);
				result = i;	
			}
		}
		System.out.print(result);
    }
} 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 = 0;

		int result = 0;
		double min = Double.MAX_VALUE;
		for (int i=1; i<=n; i++) {
			h = sc.nextInt();
			if (Math.abs(t-h*0.006-a) < min) {
				min = Math.abs(t-h*0.006-a);
				result = i;	
			}
		}
		System.out.print(result);
    } main {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int t = sc.nextInt();
		int a = sc.nextInt();
		int h = 0;

		int result = 0;
		double min = Double.MAX_VALUE;
		for (int i=1; i<=n; i++) {
			h = sc.nextInt();
			if (Math.abs(t-h*0.006-a) < min) {
				min = Math.abs(t-h*0.006-a);
				result = i;	
			}
		}
		System.out.print(result);
    } 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 = 0; h 0 int result = 0; result 0 double min = Double.MAX_VALUE; min Double.MAX_VALUE Double Double.MAX_VALUE for (int i=1; i<=n; i++) {
			h = sc.nextInt();
			if (Math.abs(t-h*0.006-a) < min) {
				min = Math.abs(t-h*0.006-a);
				result = i;	
			}
		} int i=1; int i=1; i 1 i<=n i n i++ i++ i {
			h = sc.nextInt();
			if (Math.abs(t-h*0.006-a) < min) {
				min = Math.abs(t-h*0.006-a);
				result = i;	
			}
		} {
			h = sc.nextInt();
			if (Math.abs(t-h*0.006-a) < min) {
				min = Math.abs(t-h*0.006-a);
				result = i;	
			}
		} h = sc.nextInt() h sc.nextInt() sc.nextInt sc if (Math.abs(t-h*0.006-a) < min) {
				min = Math.abs(t-h*0.006-a);
				result = i;	
			} Math.abs(t-h*0.006-a) < min Math.abs(t-h*0.006-a) Math.abs Math t-h*0.006-a t-h*0.006-a t h*0.006 h 0.006 a min {
				min = Math.abs(t-h*0.006-a);
				result = i;	
			} min = Math.abs(t-h*0.006-a) min Math.abs(t-h*0.006-a) Math.abs Math t-h*0.006-a t-h*0.006-a t h*0.006 h 0.006 a result = i result i System.out.print(result) System.out.print System.out System System.out result 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 = 0;

		int result = 0;
		double min = Double.MAX_VALUE;
		for (int i=1; i<=n; i++) {
			h = sc.nextInt();
			if (Math.abs(t-h*0.006-a) < min) {
				min = Math.abs(t-h*0.006-a);
				result = i;	
			}
		}
		System.out.print(result);
    }
} 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 = 0;

		int result = 0;
		double min = Double.MAX_VALUE;
		for (int i=1; i<=n; i++) {
			h = sc.nextInt();
			if (Math.abs(t-h*0.006-a) < min) {
				min = Math.abs(t-h*0.006-a);
				result = i;	
			}
		}
		System.out.print(result);
    }
} 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();
		int h = 0;

		int result = 0;
		double min = Double.MAX_VALUE;
		for (int i=1; i<=n; i++) {
			h = sc.nextInt();
			if (Math.abs(t-h*0.006-a) < min) {
				min = Math.abs(t-h*0.006-a);
				result = i;	
			}
		}
		System.out.print(result);
    }
}