import java.util.Scanner;

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

public 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;
	    double min = 114514;
	    int ans = 0;
	    for(int i = 1; i <= N; i++) {
	    	h = sc.nextInt();
	    	
	    	double tmp = T-h*0.006;
	    	double dis = Math.abs(A-tmp);
	    	
	    	if(min > dis) {
	    		min = dis;
	    		ans = i;
	    	}
	    }
	    
	    System.out.println(ans);
	    
	    
	}
	
}