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 index = 1;
      double diff = 10000000000.0;
      for(int i = 0; i < N; i++) {
         int H = sc.nextInt();
         
         double d = Math.abs(A - (T - H * .006));
         if(d < diff) {
            diff = d;
            index = i+1;
         }
      }
      System.out.println(index);
   }
} 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 index = 1;
      double diff = 10000000000.0;
      for(int i = 0; i < N; i++) {
         int H = sc.nextInt();
         
         double d = Math.abs(A - (T - H * .006));
         if(d < diff) {
            diff = d;
            index = i+1;
         }
      }
      System.out.println(index);
   }
} 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 index = 1;
      double diff = 10000000000.0;
      for(int i = 0; i < N; i++) {
         int H = sc.nextInt();
         
         double d = Math.abs(A - (T - H * .006));
         if(d < diff) {
            diff = d;
            index = i+1;
         }
      }
      System.out.println(index);
   } main {  
      Scanner sc = new Scanner(System.in);
      
      int N = sc.nextInt();
      
      int T = sc.nextInt();
      int A = sc.nextInt();
      
      int index = 1;
      double diff = 10000000000.0;
      for(int i = 0; i < N; i++) {
         int H = sc.nextInt();
         
         double d = Math.abs(A - (T - H * .006));
         if(d < diff) {
            diff = d;
            index = i+1;
         }
      }
      System.out.println(index);
   } 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 index = 1; index 1 double diff = 10000000000.0; diff 10000000000.0 for(int i = 0; i < N; i++) {
         int H = sc.nextInt();
         
         double d = Math.abs(A - (T - H * .006));
         if(d < diff) {
            diff = d;
            index = i+1;
         }
      } int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
         int H = sc.nextInt();
         
         double d = Math.abs(A - (T - H * .006));
         if(d < diff) {
            diff = d;
            index = i+1;
         }
      } {
         int H = sc.nextInt();
         
         double d = Math.abs(A - (T - H * .006));
         if(d < diff) {
            diff = d;
            index = i+1;
         }
      } int H = sc.nextInt(); H sc.nextInt() sc.nextInt sc double d = Math.abs(A - (T - H * .006)); d Math.abs(A - (T - H * .006)) Math.abs Math A - (T - H * .006) A (T - H * .006) T H * .006 H .006 if(d < diff) {
            diff = d;
            index = i+1;
         } d < diff d diff {
            diff = d;
            index = i+1;
         } diff = d diff d index = i+1 index i+1 i 1 System.out.println(index) System.out.println System.out System System.out index 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 index = 1;
      double diff = 10000000000.0;
      for(int i = 0; i < N; i++) {
         int H = sc.nextInt();
         
         double d = Math.abs(A - (T - H * .006));
         if(d < diff) {
            diff = d;
            index = i+1;
         }
      }
      System.out.println(index);
   }
} 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 index = 1;
      double diff = 10000000000.0;
      for(int i = 0; i < N; i++) {
         int H = sc.nextInt();
         
         double d = Math.abs(A - (T - H * .006));
         if(d < diff) {
            diff = d;
            index = i+1;
         }
      }
      System.out.println(index);
   }
} 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 index = 1;
      double diff = 10000000000.0;
      for(int i = 0; i < N; i++) {
         int H = sc.nextInt();
         
         double d = Math.abs(A - (T - H * .006));
         if(d < diff) {
            diff = d;
            index = i+1;
         }
      }
      System.out.println(index);
   }
}