import java.util.*;


import java.io.*;

class Main {

  public static void main(String[] args) throws Exception{
    try (Scanner sc = new Scanner(System.in)){
      int N = sc.nextInt();
      int T = sc.nextInt();
      int A = sc.nextInt();
      double min = Double.MAX_VALUE;
      int tmp = 0;
      for (int i = 0; i < N; i++) {
        int x = sc.nextInt();
        double tem = T - x * 0.006;
        if (min > Math.abs(tem - A)) {
          min = Math.abs(tem - A);
          tmp = i+1;
        }
      }
      System.out.println(tmp);
    }
  }
} import java.util.*; util.* java import java.io.*; io.* java class Main {

  public static void main(String[] args) throws Exception{
    try (Scanner sc = new Scanner(System.in)){
      int N = sc.nextInt();
      int T = sc.nextInt();
      int A = sc.nextInt();
      double min = Double.MAX_VALUE;
      int tmp = 0;
      for (int i = 0; i < N; i++) {
        int x = sc.nextInt();
        double tem = T - x * 0.006;
        if (min > Math.abs(tem - A)) {
          min = Math.abs(tem - A);
          tmp = i+1;
        }
      }
      System.out.println(tmp);
    }
  }
} Main public static void main(String[] args) throws Exception{
    try (Scanner sc = new Scanner(System.in)){
      int N = sc.nextInt();
      int T = sc.nextInt();
      int A = sc.nextInt();
      double min = Double.MAX_VALUE;
      int tmp = 0;
      for (int i = 0; i < N; i++) {
        int x = sc.nextInt();
        double tem = T - x * 0.006;
        if (min > Math.abs(tem - A)) {
          min = Math.abs(tem - A);
          tmp = i+1;
        }
      }
      System.out.println(tmp);
    }
  } main {
    try (Scanner sc = new Scanner(System.in)){
      int N = sc.nextInt();
      int T = sc.nextInt();
      int A = sc.nextInt();
      double min = Double.MAX_VALUE;
      int tmp = 0;
      for (int i = 0; i < N; i++) {
        int x = sc.nextInt();
        double tem = T - x * 0.006;
        if (min > Math.abs(tem - A)) {
          min = Math.abs(tem - A);
          tmp = i+1;
        }
      }
      System.out.println(tmp);
    }
  } try (Scanner sc = new Scanner(System.in)){
      int N = sc.nextInt();
      int T = sc.nextInt();
      int A = sc.nextInt();
      double min = Double.MAX_VALUE;
      int tmp = 0;
      for (int i = 0; i < N; i++) {
        int x = sc.nextInt();
        double tem = T - x * 0.006;
        if (min > Math.abs(tem - A)) {
          min = Math.abs(tem - A);
          tmp = i+1;
        }
      }
      System.out.println(tmp);
    } {
      int N = sc.nextInt();
      int T = sc.nextInt();
      int A = sc.nextInt();
      double min = Double.MAX_VALUE;
      int tmp = 0;
      for (int i = 0; i < N; i++) {
        int x = sc.nextInt();
        double tem = T - x * 0.006;
        if (min > Math.abs(tem - A)) {
          min = Math.abs(tem - A);
          tmp = i+1;
        }
      }
      System.out.println(tmp);
    } Scanner sc = new Scanner(System.in) Scanner sc = new Scanner(System.in) 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 min = Double.MAX_VALUE; min Double.MAX_VALUE Double Double.MAX_VALUE int tmp = 0; tmp 0 for (int i = 0; i < N; i++) {
        int x = sc.nextInt();
        double tem = T - x * 0.006;
        if (min > Math.abs(tem - A)) {
          min = Math.abs(tem - A);
          tmp = i+1;
        }
      } int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
        int x = sc.nextInt();
        double tem = T - x * 0.006;
        if (min > Math.abs(tem - A)) {
          min = Math.abs(tem - A);
          tmp = i+1;
        }
      } {
        int x = sc.nextInt();
        double tem = T - x * 0.006;
        if (min > Math.abs(tem - A)) {
          min = Math.abs(tem - A);
          tmp = i+1;
        }
      } int x = sc.nextInt(); x sc.nextInt() sc.nextInt sc double tem = T - x * 0.006; tem T - x * 0.006 T x * 0.006 x 0.006 if (min > Math.abs(tem - A)) {
          min = Math.abs(tem - A);
          tmp = i+1;
        } min > Math.abs(tem - A) min Math.abs(tem - A) Math.abs Math tem - A tem A {
          min = Math.abs(tem - A);
          tmp = i+1;
        } min = Math.abs(tem - A) min Math.abs(tem - A) Math.abs Math tem - A tem A tmp = i+1 tmp i+1 i 1 System.out.println(tmp) System.out.println System.out System System.out tmp String[] args args
import java.util.*;


import java.io.*;

class Main {

  public static void main(String[] args) throws Exception{
    try (Scanner sc = new Scanner(System.in)){
      int N = sc.nextInt();
      int T = sc.nextInt();
      int A = sc.nextInt();
      double min = Double.MAX_VALUE;
      int tmp = 0;
      for (int i = 0; i < N; i++) {
        int x = sc.nextInt();
        double tem = T - x * 0.006;
        if (min > Math.abs(tem - A)) {
          min = Math.abs(tem - A);
          tmp = i+1;
        }
      }
      System.out.println(tmp);
    }
  }
}
