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();
    int ans = 0;
    double mingap = Double.MAX_VALUE;

    for (int i = 0; i < n; i++) {
      int h = sc.nextInt();
      double gap = Math.abs(t - (h * 0.006) - a);
      if (gap < mingap) {
        mingap = gap;
        ans = i + 1;
      }
    }

    System.out.println(ans);

  }
} 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();
    int ans = 0;
    double mingap = Double.MAX_VALUE;

    for (int i = 0; i < n; i++) {
      int h = sc.nextInt();
      double gap = Math.abs(t - (h * 0.006) - a);
      if (gap < mingap) {
        mingap = gap;
        ans = i + 1;
      }
    }

    System.out.println(ans);

  }
} 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();
    int ans = 0;
    double mingap = Double.MAX_VALUE;

    for (int i = 0; i < n; i++) {
      int h = sc.nextInt();
      double gap = Math.abs(t - (h * 0.006) - a);
      if (gap < mingap) {
        mingap = gap;
        ans = i + 1;
      }
    }

    System.out.println(ans);

  } main {

    Scanner sc = new Scanner(System.in);

    int n = sc.nextInt();
    int t = sc.nextInt();
    int a = sc.nextInt();
    int ans = 0;
    double mingap = Double.MAX_VALUE;

    for (int i = 0; i < n; i++) {
      int h = sc.nextInt();
      double gap = Math.abs(t - (h * 0.006) - a);
      if (gap < mingap) {
        mingap = gap;
        ans = i + 1;
      }
    }

    System.out.println(ans);

  } 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 int ans = 0; ans 0 double mingap = Double.MAX_VALUE; mingap Double.MAX_VALUE Double Double.MAX_VALUE for (int i = 0; i < n; i++) {
      int h = sc.nextInt();
      double gap = Math.abs(t - (h * 0.006) - a);
      if (gap < mingap) {
        mingap = gap;
        ans = i + 1;
      }
    } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
      int h = sc.nextInt();
      double gap = Math.abs(t - (h * 0.006) - a);
      if (gap < mingap) {
        mingap = gap;
        ans = i + 1;
      }
    } {
      int h = sc.nextInt();
      double gap = Math.abs(t - (h * 0.006) - a);
      if (gap < mingap) {
        mingap = gap;
        ans = i + 1;
      }
    } int h = sc.nextInt(); h sc.nextInt() sc.nextInt sc double gap = Math.abs(t - (h * 0.006) - a); gap Math.abs(t - (h * 0.006) - a) Math.abs Math t - (h * 0.006) - a t - (h * 0.006) - a t (h * 0.006) h 0.006 a if (gap < mingap) {
        mingap = gap;
        ans = i + 1;
      } gap < mingap gap mingap {
        mingap = gap;
        ans = i + 1;
      } mingap = gap mingap gap ans = i + 1 ans i + 1 i 1 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) {

    Scanner sc = new Scanner(System.in);

    int n = sc.nextInt();
    int t = sc.nextInt();
    int a = sc.nextInt();
    int ans = 0;
    double mingap = Double.MAX_VALUE;

    for (int i = 0; i < n; i++) {
      int h = sc.nextInt();
      double gap = Math.abs(t - (h * 0.006) - a);
      if (gap < mingap) {
        mingap = gap;
        ans = i + 1;
      }
    }

    System.out.println(ans);

  }
} 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();
    int ans = 0;
    double mingap = Double.MAX_VALUE;

    for (int i = 0; i < n; i++) {
      int h = sc.nextInt();
      double gap = Math.abs(t - (h * 0.006) - a);
      if (gap < mingap) {
        mingap = gap;
        ans = i + 1;
      }
    }

    System.out.println(ans);

  }
} 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();
    int ans = 0;
    double mingap = Double.MAX_VALUE;

    for (int i = 0; i < n; i++) {
      int h = sc.nextInt();
      double gap = Math.abs(t - (h * 0.006) - a);
      if (gap < mingap) {
        mingap = gap;
        ans = i + 1;
      }
    }

    System.out.println(ans);

  }
}