import java.util.*;

class Main{
	public static void main(String[] args){
		   double t2=700;
		Scanner sc=new Scanner(System.in);
		     int N=sc.nextInt();
		     int T=sc.nextInt();
		     int A=sc.nextInt();
		     int res = 0;
     	     for(int i = 0; i < N; i++) {
     	     	int H = sc.nextInt();
		    	double t1=T-H*0.006-A;
               if(t1*t1<t2*t2){
                 t2=t1;
                 res = i + 1;
              }
		   }
		    System.out.print(res);
	}
} import java.util.*; util.* java class Main{
	public static void main(String[] args){
		   double t2=700;
		Scanner sc=new Scanner(System.in);
		     int N=sc.nextInt();
		     int T=sc.nextInt();
		     int A=sc.nextInt();
		     int res = 0;
     	     for(int i = 0; i < N; i++) {
     	     	int H = sc.nextInt();
		    	double t1=T-H*0.006-A;
               if(t1*t1<t2*t2){
                 t2=t1;
                 res = i + 1;
              }
		   }
		    System.out.print(res);
	}
} Main public static void main(String[] args){
		   double t2=700;
		Scanner sc=new Scanner(System.in);
		     int N=sc.nextInt();
		     int T=sc.nextInt();
		     int A=sc.nextInt();
		     int res = 0;
     	     for(int i = 0; i < N; i++) {
     	     	int H = sc.nextInt();
		    	double t1=T-H*0.006-A;
               if(t1*t1<t2*t2){
                 t2=t1;
                 res = i + 1;
              }
		   }
		    System.out.print(res);
	} main {
		   double t2=700;
		Scanner sc=new Scanner(System.in);
		     int N=sc.nextInt();
		     int T=sc.nextInt();
		     int A=sc.nextInt();
		     int res = 0;
     	     for(int i = 0; i < N; i++) {
     	     	int H = sc.nextInt();
		    	double t1=T-H*0.006-A;
               if(t1*t1<t2*t2){
                 t2=t1;
                 res = i + 1;
              }
		   }
		    System.out.print(res);
	} double t2=700; t2 700 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 res = 0; res 0 for(int i = 0; i < N; i++) {
     	     	int H = sc.nextInt();
		    	double t1=T-H*0.006-A;
               if(t1*t1<t2*t2){
                 t2=t1;
                 res = i + 1;
              }
		   } int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
     	     	int H = sc.nextInt();
		    	double t1=T-H*0.006-A;
               if(t1*t1<t2*t2){
                 t2=t1;
                 res = i + 1;
              }
		   } {
     	     	int H = sc.nextInt();
		    	double t1=T-H*0.006-A;
               if(t1*t1<t2*t2){
                 t2=t1;
                 res = i + 1;
              }
		   } int H = sc.nextInt(); H sc.nextInt() sc.nextInt sc double t1=T-H*0.006-A; t1 T-H*0.006-A T-H*0.006-A T H*0.006 H 0.006 A if(t1*t1<t2*t2){
                 t2=t1;
                 res = i + 1;
              } t1*t1<t2*t2 t1*t1 t1 t1 t2*t2 t2 t2 {
                 t2=t1;
                 res = i + 1;
              } t2=t1 t2 t1 res = i + 1 res i + 1 i 1 System.out.print(res) System.out.print System.out System System.out res String[] args args
import java.util.*;

class Main{
	public static void main(String[] args){
		   double t2=700;
		Scanner sc=new Scanner(System.in);
		     int N=sc.nextInt();
		     int T=sc.nextInt();
		     int A=sc.nextInt();
		     int res = 0;
     	     for(int i = 0; i < N; i++) {
     	     	int H = sc.nextInt();
		    	double t1=T-H*0.006-A;
               if(t1*t1<t2*t2){
                 t2=t1;
                 res = i + 1;
              }
		   }
		    System.out.print(res);
	}
}