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();
    	  int h[]=new int[n];
    	  int ans=0;
    	  double b[]=new double[n];
    	  for (int i=0;i<n;i++){
    	   h[i]=sc.nextInt(); 
    	   b[i]=Math.abs(t-h[i]*0.006-a);
    	   	   if(b[i]<b[ans]) {
    	   		   ans=i;
    	   	   }	
    	  }
         System.out.println(ans+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();
    	  int h[]=new int[n];
    	  int ans=0;
    	  double b[]=new double[n];
    	  for (int i=0;i<n;i++){
    	   h[i]=sc.nextInt(); 
    	   b[i]=Math.abs(t-h[i]*0.006-a);
    	   	   if(b[i]<b[ans]) {
    	   		   ans=i;
    	   	   }	
    	  }
         System.out.println(ans+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();
    	  int h[]=new int[n];
    	  int ans=0;
    	  double b[]=new double[n];
    	  for (int i=0;i<n;i++){
    	   h[i]=sc.nextInt(); 
    	   b[i]=Math.abs(t-h[i]*0.006-a);
    	   	   if(b[i]<b[ans]) {
    	   		   ans=i;
    	   	   }	
    	  }
         System.out.println(ans+1); 
    } main {
    	Scanner sc=new Scanner(System.in);
    	int n=sc.nextInt();
    	  int t=sc.nextInt();
    	  int a=sc.nextInt();
    	  int h[]=new int[n];
    	  int ans=0;
    	  double b[]=new double[n];
    	  for (int i=0;i<n;i++){
    	   h[i]=sc.nextInt(); 
    	   b[i]=Math.abs(t-h[i]*0.006-a);
    	   	   if(b[i]<b[ans]) {
    	   		   ans=i;
    	   	   }	
    	  }
         System.out.println(ans+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 int h[]=new int[n]; h new int[n] n int ans=0; ans 0 double b[]=new double[n]; b new double[n] n for (int i=0;i<n;i++){
    	   h[i]=sc.nextInt(); 
    	   b[i]=Math.abs(t-h[i]*0.006-a);
    	   	   if(b[i]<b[ans]) {
    	   		   ans=i;
    	   	   }	
    	  } int i=0; int i=0; i 0 i<n i n i++ i++ i {
    	   h[i]=sc.nextInt(); 
    	   b[i]=Math.abs(t-h[i]*0.006-a);
    	   	   if(b[i]<b[ans]) {
    	   		   ans=i;
    	   	   }	
    	  } {
    	   h[i]=sc.nextInt(); 
    	   b[i]=Math.abs(t-h[i]*0.006-a);
    	   	   if(b[i]<b[ans]) {
    	   		   ans=i;
    	   	   }	
    	  } h[i]=sc.nextInt() h[i] h i sc.nextInt() sc.nextInt sc b[i]=Math.abs(t-h[i]*0.006-a) b[i] b i Math.abs(t-h[i]*0.006-a) Math.abs Math t-h[i]*0.006-a t-h[i]*0.006-a t h[i]*0.006 h[i] h i 0.006 a if(b[i]<b[ans]) {
    	   		   ans=i;
    	   	   } b[i]<b[ans] b[i] b i b[ans] b ans {
    	   		   ans=i;
    	   	   } ans=i ans i System.out.println(ans+1) System.out.println System.out System System.out ans+1 ans 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();
    	  int h[]=new int[n];
    	  int ans=0;
    	  double b[]=new double[n];
    	  for (int i=0;i<n;i++){
    	   h[i]=sc.nextInt(); 
    	   b[i]=Math.abs(t-h[i]*0.006-a);
    	   	   if(b[i]<b[ans]) {
    	   		   ans=i;
    	   	   }	
    	  }
         System.out.println(ans+1); 
    }
}