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();
      double[] h = new double[n];
      for(int i=0;i<n;i++){
        h[i] = sc.nextInt();
      }
      int kokonishirowotateyou = 0;
      double gosa = 10000;
      for(int i=0;i<n;i++){
        h[i] = t-(h[i]*0.006);
        h[i] = Math.abs(h[i]-a);
        if(gosa>h[i]){
          kokonishirowotateyou = i;
          gosa = h[i];
        }
      }
      System.out.println(kokonishirowotateyou+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();
      double[] h = new double[n];
      for(int i=0;i<n;i++){
        h[i] = sc.nextInt();
      }
      int kokonishirowotateyou = 0;
      double gosa = 10000;
      for(int i=0;i<n;i++){
        h[i] = t-(h[i]*0.006);
        h[i] = Math.abs(h[i]-a);
        if(gosa>h[i]){
          kokonishirowotateyou = i;
          gosa = h[i];
        }
      }
      System.out.println(kokonishirowotateyou+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];
      for(int i=0;i<n;i++){
        h[i] = sc.nextInt();
      }
      int kokonishirowotateyou = 0;
      double gosa = 10000;
      for(int i=0;i<n;i++){
        h[i] = t-(h[i]*0.006);
        h[i] = Math.abs(h[i]-a);
        if(gosa>h[i]){
          kokonishirowotateyou = i;
          gosa = h[i];
        }
      }
      System.out.println(kokonishirowotateyou+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];
      for(int i=0;i<n;i++){
        h[i] = sc.nextInt();
      }
      int kokonishirowotateyou = 0;
      double gosa = 10000;
      for(int i=0;i<n;i++){
        h[i] = t-(h[i]*0.006);
        h[i] = Math.abs(h[i]-a);
        if(gosa>h[i]){
          kokonishirowotateyou = i;
          gosa = h[i];
        }
      }
      System.out.println(kokonishirowotateyou+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 for(int i=0;i<n;i++){
        h[i] = sc.nextInt();
      } int i=0; int i=0; i 0 i<n i n i++ i++ i {
        h[i] = sc.nextInt();
      } {
        h[i] = sc.nextInt();
      } h[i] = sc.nextInt() h[i] h i sc.nextInt() sc.nextInt sc int kokonishirowotateyou = 0; kokonishirowotateyou 0 double gosa = 10000; gosa 10000 for(int i=0;i<n;i++){
        h[i] = t-(h[i]*0.006);
        h[i] = Math.abs(h[i]-a);
        if(gosa>h[i]){
          kokonishirowotateyou = i;
          gosa = h[i];
        }
      } int i=0; int i=0; i 0 i<n i n i++ i++ i {
        h[i] = t-(h[i]*0.006);
        h[i] = Math.abs(h[i]-a);
        if(gosa>h[i]){
          kokonishirowotateyou = i;
          gosa = h[i];
        }
      } {
        h[i] = t-(h[i]*0.006);
        h[i] = Math.abs(h[i]-a);
        if(gosa>h[i]){
          kokonishirowotateyou = i;
          gosa = h[i];
        }
      } h[i] = t-(h[i]*0.006) h[i] h i t-(h[i]*0.006) t (h[i]*0.006) h[i] h i 0.006 h[i] = Math.abs(h[i]-a) h[i] h i Math.abs(h[i]-a) Math.abs Math h[i]-a h[i] h i a if(gosa>h[i]){
          kokonishirowotateyou = i;
          gosa = h[i];
        } gosa>h[i] gosa h[i] h i {
          kokonishirowotateyou = i;
          gosa = h[i];
        } kokonishirowotateyou = i kokonishirowotateyou i gosa = h[i] gosa h[i] h i System.out.println(kokonishirowotateyou+1) System.out.println System.out System System.out kokonishirowotateyou+1 kokonishirowotateyou 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];
      for(int i=0;i<n;i++){
        h[i] = sc.nextInt();
      }
      int kokonishirowotateyou = 0;
      double gosa = 10000;
      for(int i=0;i<n;i++){
        h[i] = t-(h[i]*0.006);
        h[i] = Math.abs(h[i]-a);
        if(gosa>h[i]){
          kokonishirowotateyou = i;
          gosa = h[i];
        }
      }
      System.out.println(kokonishirowotateyou+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];
      for(int i=0;i<n;i++){
        h[i] = sc.nextInt();
      }
      int kokonishirowotateyou = 0;
      double gosa = 10000;
      for(int i=0;i<n;i++){
        h[i] = t-(h[i]*0.006);
        h[i] = Math.abs(h[i]-a);
        if(gosa>h[i]){
          kokonishirowotateyou = i;
          gosa = h[i];
        }
      }
      System.out.println(kokonishirowotateyou+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();
      double[] h = new double[n];
      for(int i=0;i<n;i++){
        h[i] = sc.nextInt();
      }
      int kokonishirowotateyou = 0;
      double gosa = 10000;
      for(int i=0;i<n;i++){
        h[i] = t-(h[i]*0.006);
        h[i] = Math.abs(h[i]-a);
        if(gosa>h[i]){
          kokonishirowotateyou = i;
          gosa = h[i];
        }
      }
      System.out.println(kokonishirowotateyou+1);
    }
}