import java.util.Scanner;

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[] = new int[n];
		for(int i= 0;i<h.length;i++){
			h[i] = sc.nextInt();
		}
		double tmp[] = new double[n];
		double tm=1000;
		int number=-1;
		for(int i=0;i<tmp.length;i++){
			tmp[i]=(double)t-(double)h[i]*0.006;
			if(tm>Math.abs(tmp[i]-a)){
				tm=Math.abs(tmp[i]-a);
				number = i;	
			}
		}
		number += 1;
		System.out.println(number);
	}
} import java.util.Scanner; Scanner 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();
		int h[] = new int[n];
		for(int i= 0;i<h.length;i++){
			h[i] = sc.nextInt();
		}
		double tmp[] = new double[n];
		double tm=1000;
		int number=-1;
		for(int i=0;i<tmp.length;i++){
			tmp[i]=(double)t-(double)h[i]*0.006;
			if(tm>Math.abs(tmp[i]-a)){
				tm=Math.abs(tmp[i]-a);
				number = i;	
			}
		}
		number += 1;
		System.out.println(number);
	}
} 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[] = new int[n];
		for(int i= 0;i<h.length;i++){
			h[i] = sc.nextInt();
		}
		double tmp[] = new double[n];
		double tm=1000;
		int number=-1;
		for(int i=0;i<tmp.length;i++){
			tmp[i]=(double)t-(double)h[i]*0.006;
			if(tm>Math.abs(tmp[i]-a)){
				tm=Math.abs(tmp[i]-a);
				number = i;	
			}
		}
		number += 1;
		System.out.println(number);
	} main {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int t = sc.nextInt();
		int a = sc.nextInt();
		int h[] = new int[n];
		for(int i= 0;i<h.length;i++){
			h[i] = sc.nextInt();
		}
		double tmp[] = new double[n];
		double tm=1000;
		int number=-1;
		for(int i=0;i<tmp.length;i++){
			tmp[i]=(double)t-(double)h[i]*0.006;
			if(tm>Math.abs(tmp[i]-a)){
				tm=Math.abs(tmp[i]-a);
				number = i;	
			}
		}
		number += 1;
		System.out.println(number);
	} 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[] = new int[n]; h new int[n] n for(int i= 0;i<h.length;i++){
			h[i] = sc.nextInt();
		} int i= 0; int i= 0; i 0 i<h.length i h.length h h.length i++ i++ i {
			h[i] = sc.nextInt();
		} {
			h[i] = sc.nextInt();
		} h[i] = sc.nextInt() h[i] h i sc.nextInt() sc.nextInt sc double tmp[] = new double[n]; tmp new double[n] n double tm=1000; tm 1000 int number=-1; number -1 1 for(int i=0;i<tmp.length;i++){
			tmp[i]=(double)t-(double)h[i]*0.006;
			if(tm>Math.abs(tmp[i]-a)){
				tm=Math.abs(tmp[i]-a);
				number = i;	
			}
		} int i=0; int i=0; i 0 i<tmp.length i tmp.length tmp tmp.length i++ i++ i {
			tmp[i]=(double)t-(double)h[i]*0.006;
			if(tm>Math.abs(tmp[i]-a)){
				tm=Math.abs(tmp[i]-a);
				number = i;	
			}
		} {
			tmp[i]=(double)t-(double)h[i]*0.006;
			if(tm>Math.abs(tmp[i]-a)){
				tm=Math.abs(tmp[i]-a);
				number = i;	
			}
		} tmp[i]=(double)t-(double)h[i]*0.006 tmp[i] tmp i (double)t-(double)h[i]*0.006 (double)t (double)h[i]*0.006 (double)h[i] h i 0.006 if(tm>Math.abs(tmp[i]-a)){
				tm=Math.abs(tmp[i]-a);
				number = i;	
			} tm>Math.abs(tmp[i]-a) tm Math.abs(tmp[i]-a) Math.abs Math tmp[i]-a tmp[i] tmp i a {
				tm=Math.abs(tmp[i]-a);
				number = i;	
			} tm=Math.abs(tmp[i]-a) tm Math.abs(tmp[i]-a) Math.abs Math tmp[i]-a tmp[i] tmp i a number = i number i number += 1 number 1 System.out.println(number) System.out.println System.out System System.out number String args[] args
import java.util.Scanner;

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[] = new int[n];
		for(int i= 0;i<h.length;i++){
			h[i] = sc.nextInt();
		}
		double tmp[] = new double[n];
		double tm=1000;
		int number=-1;
		for(int i=0;i<tmp.length;i++){
			tmp[i]=(double)t-(double)h[i]*0.006;
			if(tm>Math.abs(tmp[i]-a)){
				tm=Math.abs(tmp[i]-a);
				number = i;	
			}
		}
		number += 1;
		System.out.println(number);
	}
}
