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 minDif = Double.MAX_VALUE;
    int minPoint = 0;
    for (int i = 0;i < n;i ++) {
      int h=sc.nextInt();
      double averageT = t - (h * 0.006);
      double dif = Math.abs(a - averageT);
      if (dif < minDif) {
        minDif=dif;
        minPoint=i;
      }
    }
    System.out.println(minPoint+1);
  }
} 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 minDif = Double.MAX_VALUE;
    int minPoint = 0;
    for (int i = 0;i < n;i ++) {
      int h=sc.nextInt();
      double averageT = t - (h * 0.006);
      double dif = Math.abs(a - averageT);
      if (dif < minDif) {
        minDif=dif;
        minPoint=i;
      }
    }
    System.out.println(minPoint+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 minDif = Double.MAX_VALUE;
    int minPoint = 0;
    for (int i = 0;i < n;i ++) {
      int h=sc.nextInt();
      double averageT = t - (h * 0.006);
      double dif = Math.abs(a - averageT);
      if (dif < minDif) {
        minDif=dif;
        minPoint=i;
      }
    }
    System.out.println(minPoint+1);
  } main {
    Scanner sc = new Scanner(System.in);
    int n = sc.nextInt();
    int t = sc.nextInt();
    int a = sc.nextInt();
    double minDif = Double.MAX_VALUE;
    int minPoint = 0;
    for (int i = 0;i < n;i ++) {
      int h=sc.nextInt();
      double averageT = t - (h * 0.006);
      double dif = Math.abs(a - averageT);
      if (dif < minDif) {
        minDif=dif;
        minPoint=i;
      }
    }
    System.out.println(minPoint+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 minDif = Double.MAX_VALUE; minDif Double.MAX_VALUE Double Double.MAX_VALUE int minPoint = 0; minPoint 0 for (int i = 0;i < n;i ++) {
      int h=sc.nextInt();
      double averageT = t - (h * 0.006);
      double dif = Math.abs(a - averageT);
      if (dif < minDif) {
        minDif=dif;
        minPoint=i;
      }
    } int i = 0; int i = 0; i 0 i < n i n i ++ i ++ i {
      int h=sc.nextInt();
      double averageT = t - (h * 0.006);
      double dif = Math.abs(a - averageT);
      if (dif < minDif) {
        minDif=dif;
        minPoint=i;
      }
    } {
      int h=sc.nextInt();
      double averageT = t - (h * 0.006);
      double dif = Math.abs(a - averageT);
      if (dif < minDif) {
        minDif=dif;
        minPoint=i;
      }
    } int h=sc.nextInt(); h sc.nextInt() sc.nextInt sc double averageT = t - (h * 0.006); averageT t - (h * 0.006) t (h * 0.006) h 0.006 double dif = Math.abs(a - averageT); dif Math.abs(a - averageT) Math.abs Math a - averageT a averageT if (dif < minDif) {
        minDif=dif;
        minPoint=i;
      } dif < minDif dif minDif {
        minDif=dif;
        minPoint=i;
      } minDif=dif minDif dif minPoint=i minPoint i System.out.println(minPoint+1) System.out.println System.out System System.out minPoint+1 minPoint 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 minDif = Double.MAX_VALUE;
    int minPoint = 0;
    for (int i = 0;i < n;i ++) {
      int h=sc.nextInt();
      double averageT = t - (h * 0.006);
      double dif = Math.abs(a - averageT);
      if (dif < minDif) {
        minDif=dif;
        minPoint=i;
      }
    }
    System.out.println(minPoint+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 minDif = Double.MAX_VALUE;
    int minPoint = 0;
    for (int i = 0;i < n;i ++) {
      int h=sc.nextInt();
      double averageT = t - (h * 0.006);
      double dif = Math.abs(a - averageT);
      if (dif < minDif) {
        minDif=dif;
        minPoint=i;
      }
    }
    System.out.println(minPoint+1);
  }
} Main
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 minDif = Double.MAX_VALUE;
    int minPoint = 0;
    for (int i = 0;i < n;i ++) {
      int h=sc.nextInt();
      double averageT = t - (h * 0.006);
      double dif = Math.abs(a - averageT);
      if (dif < minDif) {
        minDif=dif;
        minPoint=i;
      }
    }
    System.out.println(minPoint+1);
  }
}