import java.util.*;
public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int n =sc.nextInt();
    double t = sc.nextDouble();
    double a = sc.nextDouble();
    double h[] = new double[n];
    double dist[] = new double[n];
    int answer =0;
    double tmp=10000000;
    for(int i=0;i<n;i++){
      h[i]=sc.nextDouble();
    }
    for(int i=0;i<n;i++){
      dist[i]=Math.abs(a-(t-h[i]*0.006));
    }
    for(int i=0;i<n;i++){
      if(tmp>dist[i]){
        answer =i;
        tmp=dist[i];
      }
    }
    System.out.println(answer+1);
    
    
    
    
  }
  

  
} import java.util.*; util.* java public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int n =sc.nextInt();
    double t = sc.nextDouble();
    double a = sc.nextDouble();
    double h[] = new double[n];
    double dist[] = new double[n];
    int answer =0;
    double tmp=10000000;
    for(int i=0;i<n;i++){
      h[i]=sc.nextDouble();
    }
    for(int i=0;i<n;i++){
      dist[i]=Math.abs(a-(t-h[i]*0.006));
    }
    for(int i=0;i<n;i++){
      if(tmp>dist[i]){
        answer =i;
        tmp=dist[i];
      }
    }
    System.out.println(answer+1);
    
    
    
    
  }
  

  
} Main public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int n =sc.nextInt();
    double t = sc.nextDouble();
    double a = sc.nextDouble();
    double h[] = new double[n];
    double dist[] = new double[n];
    int answer =0;
    double tmp=10000000;
    for(int i=0;i<n;i++){
      h[i]=sc.nextDouble();
    }
    for(int i=0;i<n;i++){
      dist[i]=Math.abs(a-(t-h[i]*0.006));
    }
    for(int i=0;i<n;i++){
      if(tmp>dist[i]){
        answer =i;
        tmp=dist[i];
      }
    }
    System.out.println(answer+1);
    
    
    
    
  } main {
    Scanner sc = new Scanner(System.in);
    int n =sc.nextInt();
    double t = sc.nextDouble();
    double a = sc.nextDouble();
    double h[] = new double[n];
    double dist[] = new double[n];
    int answer =0;
    double tmp=10000000;
    for(int i=0;i<n;i++){
      h[i]=sc.nextDouble();
    }
    for(int i=0;i<n;i++){
      dist[i]=Math.abs(a-(t-h[i]*0.006));
    }
    for(int i=0;i<n;i++){
      if(tmp>dist[i]){
        answer =i;
        tmp=dist[i];
      }
    }
    System.out.println(answer+1);
    
    
    
    
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n =sc.nextInt(); n sc.nextInt() sc.nextInt sc double t = sc.nextDouble(); t sc.nextDouble() sc.nextDouble sc double a = sc.nextDouble(); a sc.nextDouble() sc.nextDouble sc double h[] = new double[n]; h new double[n] n double dist[] = new double[n]; dist new double[n] n int answer =0; answer 0 double tmp=10000000; tmp 10000000 for(int i=0;i<n;i++){
      h[i]=sc.nextDouble();
    } int i=0; int i=0; i 0 i<n i n i++ i++ i {
      h[i]=sc.nextDouble();
    } {
      h[i]=sc.nextDouble();
    } h[i]=sc.nextDouble() h[i] h i sc.nextDouble() sc.nextDouble sc for(int i=0;i<n;i++){
      dist[i]=Math.abs(a-(t-h[i]*0.006));
    } int i=0; int i=0; i 0 i<n i n i++ i++ i {
      dist[i]=Math.abs(a-(t-h[i]*0.006));
    } {
      dist[i]=Math.abs(a-(t-h[i]*0.006));
    } dist[i]=Math.abs(a-(t-h[i]*0.006)) dist[i] dist i Math.abs(a-(t-h[i]*0.006)) Math.abs Math a-(t-h[i]*0.006) a (t-h[i]*0.006) t h[i]*0.006 h[i] h i 0.006 for(int i=0;i<n;i++){
      if(tmp>dist[i]){
        answer =i;
        tmp=dist[i];
      }
    } int i=0; int i=0; i 0 i<n i n i++ i++ i {
      if(tmp>dist[i]){
        answer =i;
        tmp=dist[i];
      }
    } {
      if(tmp>dist[i]){
        answer =i;
        tmp=dist[i];
      }
    } if(tmp>dist[i]){
        answer =i;
        tmp=dist[i];
      } tmp>dist[i] tmp dist[i] dist i {
        answer =i;
        tmp=dist[i];
      } answer =i answer i tmp=dist[i] tmp dist[i] dist i System.out.println(answer+1) System.out.println System.out System System.out answer+1 answer 1 String[] args args public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int n =sc.nextInt();
    double t = sc.nextDouble();
    double a = sc.nextDouble();
    double h[] = new double[n];
    double dist[] = new double[n];
    int answer =0;
    double tmp=10000000;
    for(int i=0;i<n;i++){
      h[i]=sc.nextDouble();
    }
    for(int i=0;i<n;i++){
      dist[i]=Math.abs(a-(t-h[i]*0.006));
    }
    for(int i=0;i<n;i++){
      if(tmp>dist[i]){
        answer =i;
        tmp=dist[i];
      }
    }
    System.out.println(answer+1);
    
    
    
    
  }
  

  
} public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int n =sc.nextInt();
    double t = sc.nextDouble();
    double a = sc.nextDouble();
    double h[] = new double[n];
    double dist[] = new double[n];
    int answer =0;
    double tmp=10000000;
    for(int i=0;i<n;i++){
      h[i]=sc.nextDouble();
    }
    for(int i=0;i<n;i++){
      dist[i]=Math.abs(a-(t-h[i]*0.006));
    }
    for(int i=0;i<n;i++){
      if(tmp>dist[i]){
        answer =i;
        tmp=dist[i];
      }
    }
    System.out.println(answer+1);
    
    
    
    
  }
  

  
} Main
import java.util.*;
public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int n =sc.nextInt();
    double t = sc.nextDouble();
    double a = sc.nextDouble();
    double h[] = new double[n];
    double dist[] = new double[n];
    int answer =0;
    double tmp=10000000;
    for(int i=0;i<n;i++){
      h[i]=sc.nextDouble();
    }
    for(int i=0;i<n;i++){
      dist[i]=Math.abs(a-(t-h[i]*0.006));
    }
    for(int i=0;i<n;i++){
      if(tmp>dist[i]){
        answer =i;
        tmp=dist[i];
      }
    }
    System.out.println(answer+1);
    
    
    
    
  }
  

  
}