import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner stdin = new Scanner( System.in);
		int n=0,a=0,T=0,ans=1;
		double XX=Double.MAX_VALUE;
		n=stdin.nextInt();
		T=stdin.nextInt();
		a =stdin.nextInt();
		for(int i=1;i<=n;i++){
			double ave=0;
			int H=stdin.nextInt();
			ave=T-H*0.006;
			double X=ave-a;
			if(XX*XX>X*X){
				XX=X;
				ans=i;
			}
		}
		System.out.print(ans);
	}
}

 import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		Scanner stdin = new Scanner( System.in);
		int n=0,a=0,T=0,ans=1;
		double XX=Double.MAX_VALUE;
		n=stdin.nextInt();
		T=stdin.nextInt();
		a =stdin.nextInt();
		for(int i=1;i<=n;i++){
			double ave=0;
			int H=stdin.nextInt();
			ave=T-H*0.006;
			double X=ave-a;
			if(XX*XX>X*X){
				XX=X;
				ans=i;
			}
		}
		System.out.print(ans);
	}
} Main public static void main(String[] args) {
		Scanner stdin = new Scanner( System.in);
		int n=0,a=0,T=0,ans=1;
		double XX=Double.MAX_VALUE;
		n=stdin.nextInt();
		T=stdin.nextInt();
		a =stdin.nextInt();
		for(int i=1;i<=n;i++){
			double ave=0;
			int H=stdin.nextInt();
			ave=T-H*0.006;
			double X=ave-a;
			if(XX*XX>X*X){
				XX=X;
				ans=i;
			}
		}
		System.out.print(ans);
	} main {
		Scanner stdin = new Scanner( System.in);
		int n=0,a=0,T=0,ans=1;
		double XX=Double.MAX_VALUE;
		n=stdin.nextInt();
		T=stdin.nextInt();
		a =stdin.nextInt();
		for(int i=1;i<=n;i++){
			double ave=0;
			int H=stdin.nextInt();
			ave=T-H*0.006;
			double X=ave-a;
			if(XX*XX>X*X){
				XX=X;
				ans=i;
			}
		}
		System.out.print(ans);
	} Scanner stdin = new Scanner( System.in); stdin new Scanner( System.in) int n=0 n 0 a=0 a 0 T=0 T 0 ans=1; ans 1 double XX=Double.MAX_VALUE; XX Double.MAX_VALUE Double Double.MAX_VALUE n=stdin.nextInt() n stdin.nextInt() stdin.nextInt stdin T=stdin.nextInt() T stdin.nextInt() stdin.nextInt stdin a =stdin.nextInt() a stdin.nextInt() stdin.nextInt stdin for(int i=1;i<=n;i++){
			double ave=0;
			int H=stdin.nextInt();
			ave=T-H*0.006;
			double X=ave-a;
			if(XX*XX>X*X){
				XX=X;
				ans=i;
			}
		} int i=1; int i=1; i 1 i<=n i n i++ i++ i {
			double ave=0;
			int H=stdin.nextInt();
			ave=T-H*0.006;
			double X=ave-a;
			if(XX*XX>X*X){
				XX=X;
				ans=i;
			}
		} {
			double ave=0;
			int H=stdin.nextInt();
			ave=T-H*0.006;
			double X=ave-a;
			if(XX*XX>X*X){
				XX=X;
				ans=i;
			}
		} double ave=0; ave 0 int H=stdin.nextInt(); H stdin.nextInt() stdin.nextInt stdin ave=T-H*0.006 ave T-H*0.006 T H*0.006 H 0.006 double X=ave-a; X ave-a ave a if(XX*XX>X*X){
				XX=X;
				ans=i;
			} XX*XX>X*X XX*XX XX XX X*X X X {
				XX=X;
				ans=i;
			} XX=X XX X ans=i ans i System.out.print(ans) System.out.print System.out System System.out ans String[] args args public class Main {

	public static void main(String[] args) {
		Scanner stdin = new Scanner( System.in);
		int n=0,a=0,T=0,ans=1;
		double XX=Double.MAX_VALUE;
		n=stdin.nextInt();
		T=stdin.nextInt();
		a =stdin.nextInt();
		for(int i=1;i<=n;i++){
			double ave=0;
			int H=stdin.nextInt();
			ave=T-H*0.006;
			double X=ave-a;
			if(XX*XX>X*X){
				XX=X;
				ans=i;
			}
		}
		System.out.print(ans);
	}
} public class Main {

	public static void main(String[] args) {
		Scanner stdin = new Scanner( System.in);
		int n=0,a=0,T=0,ans=1;
		double XX=Double.MAX_VALUE;
		n=stdin.nextInt();
		T=stdin.nextInt();
		a =stdin.nextInt();
		for(int i=1;i<=n;i++){
			double ave=0;
			int H=stdin.nextInt();
			ave=T-H*0.006;
			double X=ave-a;
			if(XX*XX>X*X){
				XX=X;
				ans=i;
			}
		}
		System.out.print(ans);
	}
} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner stdin = new Scanner( System.in);
		int n=0,a=0,T=0,ans=1;
		double XX=Double.MAX_VALUE;
		n=stdin.nextInt();
		T=stdin.nextInt();
		a =stdin.nextInt();
		for(int i=1;i<=n;i++){
			double ave=0;
			int H=stdin.nextInt();
			ave=T-H*0.006;
			double X=ave-a;
			if(XX*XX>X*X){
				XX=X;
				ans=i;
			}
		}
		System.out.print(ans);
	}
}


