
import java.util.*;

public class Main {
  public static void main(String[] args) {
    @SuppressWarnings("resource")
    Scanner sc = new Scanner(System.in);
    int N = sc.nextInt();
    double T = sc.nextDouble();
    int A = sc.nextInt();
    int ans = 0;//平均気温がA度に最も近い地点
    double min = Double.MAX_VALUE;// ↑の値

    for (int i = 0; i < N; i++) {
      double tmp = T - sc.nextDouble() * 0.006;
      double t = Math.abs(A - tmp);
      if(t < min) {
        ans = i+1;
        min = t;
      }
    }
    System.out.println(ans);
  }
} import java.util.*; util.* java public class Main {
  public static void main(String[] args) {
    @SuppressWarnings("resource")
    Scanner sc = new Scanner(System.in);
    int N = sc.nextInt();
    double T = sc.nextDouble();
    int A = sc.nextInt();
    int ans = 0;//平均気温がA度に最も近い地点
    double min = Double.MAX_VALUE;// ↑の値

    for (int i = 0; i < N; i++) {
      double tmp = T - sc.nextDouble() * 0.006;
      double t = Math.abs(A - tmp);
      if(t < min) {
        ans = i+1;
        min = t;
      }
    }
    System.out.println(ans);
  }
} Main public static void main(String[] args) {
    @SuppressWarnings("resource")
    Scanner sc = new Scanner(System.in);
    int N = sc.nextInt();
    double T = sc.nextDouble();
    int A = sc.nextInt();
    int ans = 0;//平均気温がA度に最も近い地点
    double min = Double.MAX_VALUE;// ↑の値

    for (int i = 0; i < N; i++) {
      double tmp = T - sc.nextDouble() * 0.006;
      double t = Math.abs(A - tmp);
      if(t < min) {
        ans = i+1;
        min = t;
      }
    }
    System.out.println(ans);
  } main {
    @SuppressWarnings("resource")
    Scanner sc = new Scanner(System.in);
    int N = sc.nextInt();
    double T = sc.nextDouble();
    int A = sc.nextInt();
    int ans = 0;//平均気温がA度に最も近い地点
    double min = Double.MAX_VALUE;// ↑の値

    for (int i = 0; i < N; i++) {
      double tmp = T - sc.nextDouble() * 0.006;
      double t = Math.abs(A - tmp);
      if(t < min) {
        ans = i+1;
        min = t;
      }
    }
    System.out.println(ans);
  } @SuppressWarnings("resource")
    Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int N = sc.nextInt(); N sc.nextInt() sc.nextInt sc double T = sc.nextDouble(); T sc.nextDouble() sc.nextDouble sc int A = sc.nextInt(); A sc.nextInt() sc.nextInt sc int ans = 0; ans 0 double min = Double.MAX_VALUE; min Double.MAX_VALUE Double Double.MAX_VALUE for (int i = 0; i < N; i++) {
      double tmp = T - sc.nextDouble() * 0.006;
      double t = Math.abs(A - tmp);
      if(t < min) {
        ans = i+1;
        min = t;
      }
    } int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
      double tmp = T - sc.nextDouble() * 0.006;
      double t = Math.abs(A - tmp);
      if(t < min) {
        ans = i+1;
        min = t;
      }
    } {
      double tmp = T - sc.nextDouble() * 0.006;
      double t = Math.abs(A - tmp);
      if(t < min) {
        ans = i+1;
        min = t;
      }
    } double tmp = T - sc.nextDouble() * 0.006; tmp T - sc.nextDouble() * 0.006 T sc.nextDouble() * 0.006 sc.nextDouble() sc.nextDouble sc 0.006 double t = Math.abs(A - tmp); t Math.abs(A - tmp) Math.abs Math A - tmp A tmp if(t < min) {
        ans = i+1;
        min = t;
      } t < min t min {
        ans = i+1;
        min = t;
      } ans = i+1 ans i+1 i 1 min = t min t System.out.println(ans) System.out.println System.out System System.out ans String[] args args public class Main {
  public static void main(String[] args) {
    @SuppressWarnings("resource")
    Scanner sc = new Scanner(System.in);
    int N = sc.nextInt();
    double T = sc.nextDouble();
    int A = sc.nextInt();
    int ans = 0;//平均気温がA度に最も近い地点
    double min = Double.MAX_VALUE;// ↑の値

    for (int i = 0; i < N; i++) {
      double tmp = T - sc.nextDouble() * 0.006;
      double t = Math.abs(A - tmp);
      if(t < min) {
        ans = i+1;
        min = t;
      }
    }
    System.out.println(ans);
  }
} public class Main {
  public static void main(String[] args) {
    @SuppressWarnings("resource")
    Scanner sc = new Scanner(System.in);
    int N = sc.nextInt();
    double T = sc.nextDouble();
    int A = sc.nextInt();
    int ans = 0;//平均気温がA度に最も近い地点
    double min = Double.MAX_VALUE;// ↑の値

    for (int i = 0; i < N; i++) {
      double tmp = T - sc.nextDouble() * 0.006;
      double t = Math.abs(A - tmp);
      if(t < min) {
        ans = i+1;
        min = t;
      }
    }
    System.out.println(ans);
  }
} Main

import java.util.*;

public class Main {
  public static void main(String[] args) {
    @SuppressWarnings("resource")
    Scanner sc = new Scanner(System.in);
    int N = sc.nextInt();
    double T = sc.nextDouble();
    int A = sc.nextInt();
    int ans = 0;//平均気温がA度に最も近い地点
    double min = Double.MAX_VALUE;// ↑の値

    for (int i = 0; i < N; i++) {
      double tmp = T - sc.nextDouble() * 0.006;
      double t = Math.abs(A - tmp);
      if(t < min) {
        ans = i+1;
        min = t;
      }
    }
    System.out.println(ans);
  }
}
