import java.util.*;

public class Main {

  static Scanner sc = new Scanner(System.in);

  public static void main(String[] args) {

    int N = sc.nextInt();
    int T = sc.nextInt();
    int A = sc.nextInt();

    int index = 0;
    double min = Integer.MAX_VALUE;
    for (int i=0; i<N; i++) {
      int h = sc.nextInt();
      double t = T - h * 0.006d;
      if (Math.abs(A - t) < min) {
        index = i;
        min = Math.abs(A - t);
      }
    }

    System.out.println(index+1);

  }
} import java.util.*; util.* java public class Main {

  static Scanner sc = new Scanner(System.in);

  public static void main(String[] args) {

    int N = sc.nextInt();
    int T = sc.nextInt();
    int A = sc.nextInt();

    int index = 0;
    double min = Integer.MAX_VALUE;
    for (int i=0; i<N; i++) {
      int h = sc.nextInt();
      double t = T - h * 0.006d;
      if (Math.abs(A - t) < min) {
        index = i;
        min = Math.abs(A - t);
      }
    }

    System.out.println(index+1);

  }
} Main static Scanner sc = new Scanner(System.in); sc new Scanner(System.in) public static void main(String[] args) {

    int N = sc.nextInt();
    int T = sc.nextInt();
    int A = sc.nextInt();

    int index = 0;
    double min = Integer.MAX_VALUE;
    for (int i=0; i<N; i++) {
      int h = sc.nextInt();
      double t = T - h * 0.006d;
      if (Math.abs(A - t) < min) {
        index = i;
        min = Math.abs(A - t);
      }
    }

    System.out.println(index+1);

  } main {

    int N = sc.nextInt();
    int T = sc.nextInt();
    int A = sc.nextInt();

    int index = 0;
    double min = Integer.MAX_VALUE;
    for (int i=0; i<N; i++) {
      int h = sc.nextInt();
      double t = T - h * 0.006d;
      if (Math.abs(A - t) < min) {
        index = i;
        min = Math.abs(A - t);
      }
    }

    System.out.println(index+1);

  } 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 = 0; index 0 double min = Integer.MAX_VALUE; min Integer.MAX_VALUE Integer Integer.MAX_VALUE for (int i=0; i<N; i++) {
      int h = sc.nextInt();
      double t = T - h * 0.006d;
      if (Math.abs(A - t) < min) {
        index = i;
        min = Math.abs(A - t);
      }
    } int i=0; int i=0; i 0 i<N i N i++ i++ i {
      int h = sc.nextInt();
      double t = T - h * 0.006d;
      if (Math.abs(A - t) < min) {
        index = i;
        min = Math.abs(A - t);
      }
    } {
      int h = sc.nextInt();
      double t = T - h * 0.006d;
      if (Math.abs(A - t) < min) {
        index = i;
        min = Math.abs(A - t);
      }
    } int h = sc.nextInt(); h sc.nextInt() sc.nextInt sc double t = T - h * 0.006d; t T - h * 0.006d T h * 0.006d h 0.006d if (Math.abs(A - t) < min) {
        index = i;
        min = Math.abs(A - t);
      } Math.abs(A - t) < min Math.abs(A - t) Math.abs Math A - t A t min {
        index = i;
        min = Math.abs(A - t);
      } index = i index i min = Math.abs(A - t) min Math.abs(A - t) Math.abs Math A - t A t System.out.println(index+1) System.out.println System.out System System.out index+1 index 1 String[] args args public class Main {

  static Scanner sc = new Scanner(System.in);

  public static void main(String[] args) {

    int N = sc.nextInt();
    int T = sc.nextInt();
    int A = sc.nextInt();

    int index = 0;
    double min = Integer.MAX_VALUE;
    for (int i=0; i<N; i++) {
      int h = sc.nextInt();
      double t = T - h * 0.006d;
      if (Math.abs(A - t) < min) {
        index = i;
        min = Math.abs(A - t);
      }
    }

    System.out.println(index+1);

  }
} public class Main {

  static Scanner sc = new Scanner(System.in);

  public static void main(String[] args) {

    int N = sc.nextInt();
    int T = sc.nextInt();
    int A = sc.nextInt();

    int index = 0;
    double min = Integer.MAX_VALUE;
    for (int i=0; i<N; i++) {
      int h = sc.nextInt();
      double t = T - h * 0.006d;
      if (Math.abs(A - t) < min) {
        index = i;
        min = Math.abs(A - t);
      }
    }

    System.out.println(index+1);

  }
} Main
import java.util.*;

public class Main {

  static Scanner sc = new Scanner(System.in);

  public static void main(String[] args) {

    int N = sc.nextInt();
    int T = sc.nextInt();
    int A = sc.nextInt();

    int index = 0;
    double min = Integer.MAX_VALUE;
    for (int i=0; i<N; i++) {
      int h = sc.nextInt();
      double t = T - h * 0.006d;
      if (Math.abs(A - t) < min) {
        index = i;
        min = Math.abs(A - t);
      }
    }

    System.out.println(index+1);

  }
}