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