import java.util.*;
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[] offset = new double[N];
	double min = Double.MAX_VALUE;
	int minIndex = 0;
	for(int i = 0; i<N; i++) {
	    offset[i] = Math.abs((T - 0.006*sc.nextInt()) - A);
	    if(min> offset[i]) {
		min = offset[i];
		minIndex = i;
	    }
	}
	System.out.println(minIndex+1);
    }
} import java.util.*; util.* java 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[] offset = new double[N];
	double min = Double.MAX_VALUE;
	int minIndex = 0;
	for(int i = 0; i<N; i++) {
	    offset[i] = Math.abs((T - 0.006*sc.nextInt()) - A);
	    if(min> offset[i]) {
		min = offset[i];
		minIndex = i;
	    }
	}
	System.out.println(minIndex+1);
    }
} 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[] offset = new double[N];
	double min = Double.MAX_VALUE;
	int minIndex = 0;
	for(int i = 0; i<N; i++) {
	    offset[i] = Math.abs((T - 0.006*sc.nextInt()) - A);
	    if(min> offset[i]) {
		min = offset[i];
		minIndex = i;
	    }
	}
	System.out.println(minIndex+1);
    } main {
	Scanner sc = new Scanner(System.in);
	int N = sc.nextInt();
	int T = sc.nextInt();
	int A = sc.nextInt();
	double[] offset = new double[N];
	double min = Double.MAX_VALUE;
	int minIndex = 0;
	for(int i = 0; i<N; i++) {
	    offset[i] = Math.abs((T - 0.006*sc.nextInt()) - A);
	    if(min> offset[i]) {
		min = offset[i];
		minIndex = i;
	    }
	}
	System.out.println(minIndex+1);
    } 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[] offset = new double[N]; offset new double[N] N double min = Double.MAX_VALUE; min Double.MAX_VALUE Double Double.MAX_VALUE int minIndex = 0; minIndex 0 for(int i = 0; i<N; i++) {
	    offset[i] = Math.abs((T - 0.006*sc.nextInt()) - A);
	    if(min> offset[i]) {
		min = offset[i];
		minIndex = i;
	    }
	} int i = 0; int i = 0; i 0 i<N i N i++ i++ i {
	    offset[i] = Math.abs((T - 0.006*sc.nextInt()) - A);
	    if(min> offset[i]) {
		min = offset[i];
		minIndex = i;
	    }
	} {
	    offset[i] = Math.abs((T - 0.006*sc.nextInt()) - A);
	    if(min> offset[i]) {
		min = offset[i];
		minIndex = i;
	    }
	} offset[i] = Math.abs((T - 0.006*sc.nextInt()) - A) offset[i] offset i Math.abs((T - 0.006*sc.nextInt()) - A) Math.abs Math (T - 0.006*sc.nextInt()) - A (T - 0.006*sc.nextInt()) T 0.006*sc.nextInt() 0.006 sc.nextInt() sc.nextInt sc A if(min> offset[i]) {
		min = offset[i];
		minIndex = i;
	    } min> offset[i] min offset[i] offset i {
		min = offset[i];
		minIndex = i;
	    } min = offset[i] min offset[i] offset i minIndex = i minIndex i System.out.println(minIndex+1) System.out.println System.out System System.out minIndex+1 minIndex 1 String[] args args
import java.util.*;
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[] offset = new double[N];
	double min = Double.MAX_VALUE;
	int minIndex = 0;
	for(int i = 0; i<N; i++) {
	    offset[i] = Math.abs((T - 0.006*sc.nextInt()) - A);
	    if(min> offset[i]) {
		min = offset[i];
		minIndex = i;
	    }
	}
	System.out.println(minIndex+1);
    }
}