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 minDiff = Integer.MAX_VALUE;
    int minIdx = 0;
    for (int i = 1; i <= N; i++) {
      int h = sc.nextInt();
      double t = T - 0.006 * h;
      double diff = Math.abs(A - t);
      if (diff < minDiff) {
        minDiff = diff;
        minIdx = i;
      }
    }
    
    System.out.println(minIdx);
  }
} 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 minDiff = Integer.MAX_VALUE;
    int minIdx = 0;
    for (int i = 1; i <= N; i++) {
      int h = sc.nextInt();
      double t = T - 0.006 * h;
      double diff = Math.abs(A - t);
      if (diff < minDiff) {
        minDiff = diff;
        minIdx = i;
      }
    }
    
    System.out.println(minIdx);
  }
} 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 minDiff = Integer.MAX_VALUE;
    int minIdx = 0;
    for (int i = 1; i <= N; i++) {
      int h = sc.nextInt();
      double t = T - 0.006 * h;
      double diff = Math.abs(A - t);
      if (diff < minDiff) {
        minDiff = diff;
        minIdx = i;
      }
    }
    
    System.out.println(minIdx);
  } main {
    Scanner sc = new Scanner(System.in);
    int N = sc.nextInt();
    int T = sc.nextInt();
    int A = sc.nextInt();
    
    double minDiff = Integer.MAX_VALUE;
    int minIdx = 0;
    for (int i = 1; i <= N; i++) {
      int h = sc.nextInt();
      double t = T - 0.006 * h;
      double diff = Math.abs(A - t);
      if (diff < minDiff) {
        minDiff = diff;
        minIdx = i;
      }
    }
    
    System.out.println(minIdx);
  } 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 minDiff = Integer.MAX_VALUE; minDiff Integer.MAX_VALUE Integer Integer.MAX_VALUE int minIdx = 0; minIdx 0 for (int i = 1; i <= N; i++) {
      int h = sc.nextInt();
      double t = T - 0.006 * h;
      double diff = Math.abs(A - t);
      if (diff < minDiff) {
        minDiff = diff;
        minIdx = i;
      }
    } int i = 1; int i = 1; i 1 i <= N i N i++ i++ i {
      int h = sc.nextInt();
      double t = T - 0.006 * h;
      double diff = Math.abs(A - t);
      if (diff < minDiff) {
        minDiff = diff;
        minIdx = i;
      }
    } {
      int h = sc.nextInt();
      double t = T - 0.006 * h;
      double diff = Math.abs(A - t);
      if (diff < minDiff) {
        minDiff = diff;
        minIdx = i;
      }
    } int h = sc.nextInt(); h sc.nextInt() sc.nextInt sc double t = T - 0.006 * h; t T - 0.006 * h T 0.006 * h 0.006 h double diff = Math.abs(A - t); diff Math.abs(A - t) Math.abs Math A - t A t if (diff < minDiff) {
        minDiff = diff;
        minIdx = i;
      } diff < minDiff diff minDiff {
        minDiff = diff;
        minIdx = i;
      } minDiff = diff minDiff diff minIdx = i minIdx i System.out.println(minIdx) System.out.println System.out System System.out minIdx 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 minDiff = Integer.MAX_VALUE;
    int minIdx = 0;
    for (int i = 1; i <= N; i++) {
      int h = sc.nextInt();
      double t = T - 0.006 * h;
      double diff = Math.abs(A - t);
      if (diff < minDiff) {
        minDiff = diff;
        minIdx = i;
      }
    }
    
    System.out.println(minIdx);
  }
} 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 minDiff = Integer.MAX_VALUE;
    int minIdx = 0;
    for (int i = 1; i <= N; i++) {
      int h = sc.nextInt();
      double t = T - 0.006 * h;
      double diff = Math.abs(A - t);
      if (diff < minDiff) {
        minDiff = diff;
        minIdx = i;
      }
    }
    
    System.out.println(minIdx);
  }
} 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 minDiff = Integer.MAX_VALUE;
    int minIdx = 0;
    for (int i = 1; i <= N; i++) {
      int h = sc.nextInt();
      double t = T - 0.006 * h;
      double diff = Math.abs(A - t);
      if (diff < minDiff) {
        minDiff = diff;
        minIdx = i;
      }
    }
    
    System.out.println(minIdx);
  }
}