import 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 = new int[N];
    double mindelta = Double.MAX_VALUE;
    int ans=0;
    for(int i=0; i<N;i++){
      H[i]=sc.nextInt();
      double temp = T- H[i]*0.006;
      double delta = Math.abs(A-temp);
      if (mindelta>delta){
        mindelta=delta;
        ans=i;
      }
    }
    System.out.println(ans+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();
    int T =sc.nextInt();
    int A =sc.nextInt();
    int[] H = new int[N];
    double mindelta = Double.MAX_VALUE;
    int ans=0;
    for(int i=0; i<N;i++){
      H[i]=sc.nextInt();
      double temp = T- H[i]*0.006;
      double delta = Math.abs(A-temp);
      if (mindelta>delta){
        mindelta=delta;
        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];
    double mindelta = Double.MAX_VALUE;
    int ans=0;
    for(int i=0; i<N;i++){
      H[i]=sc.nextInt();
      double temp = T- H[i]*0.006;
      double delta = Math.abs(A-temp);
      if (mindelta>delta){
        mindelta=delta;
        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];
    double mindelta = Double.MAX_VALUE;
    int ans=0;
    for(int i=0; i<N;i++){
      H[i]=sc.nextInt();
      double temp = T- H[i]*0.006;
      double delta = Math.abs(A-temp);
      if (mindelta>delta){
        mindelta=delta;
        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 double mindelta = Double.MAX_VALUE; mindelta Double.MAX_VALUE Double Double.MAX_VALUE int ans=0; ans 0 for(int i=0; i<N;i++){
      H[i]=sc.nextInt();
      double temp = T- H[i]*0.006;
      double delta = Math.abs(A-temp);
      if (mindelta>delta){
        mindelta=delta;
        ans=i;
      }
    } int i=0; int i=0; i 0 i<N i N i++ i++ i {
      H[i]=sc.nextInt();
      double temp = T- H[i]*0.006;
      double delta = Math.abs(A-temp);
      if (mindelta>delta){
        mindelta=delta;
        ans=i;
      }
    } {
      H[i]=sc.nextInt();
      double temp = T- H[i]*0.006;
      double delta = Math.abs(A-temp);
      if (mindelta>delta){
        mindelta=delta;
        ans=i;
      }
    } H[i]=sc.nextInt() H[i] H i sc.nextInt() sc.nextInt sc double temp = T- H[i]*0.006; temp T- H[i]*0.006 T H[i]*0.006 H[i] H i 0.006 double delta = Math.abs(A-temp); delta Math.abs(A-temp) Math.abs Math A-temp A temp if (mindelta>delta){
        mindelta=delta;
        ans=i;
      } mindelta>delta mindelta delta {
        mindelta=delta;
        ans=i;
      } mindelta=delta mindelta delta ans=i ans i System.out.println(ans+1) System.out.println System.out System System.out ans+1 ans 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();
    int[] H = new int[N];
    double mindelta = Double.MAX_VALUE;
    int ans=0;
    for(int i=0; i<N;i++){
      H[i]=sc.nextInt();
      double temp = T- H[i]*0.006;
      double delta = Math.abs(A-temp);
      if (mindelta>delta){
        mindelta=delta;
        ans=i;
      }
    }
    System.out.println(ans+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();
    int[] H = new int[N];
    double mindelta = Double.MAX_VALUE;
    int ans=0;
    for(int i=0; i<N;i++){
      H[i]=sc.nextInt();
      double temp = T- H[i]*0.006;
      double delta = Math.abs(A-temp);
      if (mindelta>delta){
        mindelta=delta;
        ans=i;
      }
    }
    System.out.println(ans+1);

  }
} Main
import 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 = new int[N];
    double mindelta = Double.MAX_VALUE;
    int ans=0;
    for(int i=0; i<N;i++){
      H[i]=sc.nextInt();
      double temp = T- H[i]*0.006;
      double delta = Math.abs(A-temp);
      if (mindelta>delta){
        mindelta=delta;
        ans=i;
      }
    }
    System.out.println(ans+1);

  }
}
