import java.util.Scanner;

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

    int N = scanner.nextInt();
    int T = scanner.nextInt();
    int A = scanner.nextInt();
    int[] H = new int[N];
    for (int i = 0; i < N; i++) {
      H[i] = scanner.nextInt();
    }
    int ans = -1;
    double closest = 1_000_000;
    for (int i = 0; i < N; i++) {
      if (ans < 0 || Math.abs(T - H[i] * 0.006 - A) < closest) {
        ans = i + 1;
        closest = Math.abs(T - H[i] * 0.006 - A);
      }
    }
    System.out.println(ans);
  }
} import java.util.Scanner; Scanner java.util public class Main {
  public static void main(String[] args) {
    Scanner scanner = new Scanner(System.in);

    int N = scanner.nextInt();
    int T = scanner.nextInt();
    int A = scanner.nextInt();
    int[] H = new int[N];
    for (int i = 0; i < N; i++) {
      H[i] = scanner.nextInt();
    }
    int ans = -1;
    double closest = 1_000_000;
    for (int i = 0; i < N; i++) {
      if (ans < 0 || Math.abs(T - H[i] * 0.006 - A) < closest) {
        ans = i + 1;
        closest = Math.abs(T - H[i] * 0.006 - A);
      }
    }
    System.out.println(ans);
  }
} Main public static void main(String[] args) {
    Scanner scanner = new Scanner(System.in);

    int N = scanner.nextInt();
    int T = scanner.nextInt();
    int A = scanner.nextInt();
    int[] H = new int[N];
    for (int i = 0; i < N; i++) {
      H[i] = scanner.nextInt();
    }
    int ans = -1;
    double closest = 1_000_000;
    for (int i = 0; i < N; i++) {
      if (ans < 0 || Math.abs(T - H[i] * 0.006 - A) < closest) {
        ans = i + 1;
        closest = Math.abs(T - H[i] * 0.006 - A);
      }
    }
    System.out.println(ans);
  } main {
    Scanner scanner = new Scanner(System.in);

    int N = scanner.nextInt();
    int T = scanner.nextInt();
    int A = scanner.nextInt();
    int[] H = new int[N];
    for (int i = 0; i < N; i++) {
      H[i] = scanner.nextInt();
    }
    int ans = -1;
    double closest = 1_000_000;
    for (int i = 0; i < N; i++) {
      if (ans < 0 || Math.abs(T - H[i] * 0.006 - A) < closest) {
        ans = i + 1;
        closest = Math.abs(T - H[i] * 0.006 - A);
      }
    }
    System.out.println(ans);
  } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int N = scanner.nextInt(); N scanner.nextInt() scanner.nextInt scanner int T = scanner.nextInt(); T scanner.nextInt() scanner.nextInt scanner int A = scanner.nextInt(); A scanner.nextInt() scanner.nextInt scanner int[] H = new int[N]; H new int[N] N for (int i = 0; i < N; i++) {
      H[i] = scanner.nextInt();
    } int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
      H[i] = scanner.nextInt();
    } {
      H[i] = scanner.nextInt();
    } H[i] = scanner.nextInt() H[i] H i scanner.nextInt() scanner.nextInt scanner int ans = -1; ans -1 1 double closest = 1_000_000; closest 1_000_000 for (int i = 0; i < N; i++) {
      if (ans < 0 || Math.abs(T - H[i] * 0.006 - A) < closest) {
        ans = i + 1;
        closest = Math.abs(T - H[i] * 0.006 - A);
      }
    } int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
      if (ans < 0 || Math.abs(T - H[i] * 0.006 - A) < closest) {
        ans = i + 1;
        closest = Math.abs(T - H[i] * 0.006 - A);
      }
    } {
      if (ans < 0 || Math.abs(T - H[i] * 0.006 - A) < closest) {
        ans = i + 1;
        closest = Math.abs(T - H[i] * 0.006 - A);
      }
    } if (ans < 0 || Math.abs(T - H[i] * 0.006 - A) < closest) {
        ans = i + 1;
        closest = Math.abs(T - H[i] * 0.006 - A);
      } ans < 0 || Math.abs(T - H[i] * 0.006 - A) < closest ans < 0 ans 0 Math.abs(T - H[i] * 0.006 - A) < closest Math.abs(T - H[i] * 0.006 - A) Math.abs Math T - H[i] * 0.006 - A T - H[i] * 0.006 - A T H[i] * 0.006 H[i] H i 0.006 A closest {
        ans = i + 1;
        closest = Math.abs(T - H[i] * 0.006 - A);
      } ans = i + 1 ans i + 1 i 1 closest = Math.abs(T - H[i] * 0.006 - A) closest Math.abs(T - H[i] * 0.006 - A) Math.abs Math T - H[i] * 0.006 - A T - H[i] * 0.006 - A T H[i] * 0.006 H[i] H i 0.006 A 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 scanner = new Scanner(System.in);

    int N = scanner.nextInt();
    int T = scanner.nextInt();
    int A = scanner.nextInt();
    int[] H = new int[N];
    for (int i = 0; i < N; i++) {
      H[i] = scanner.nextInt();
    }
    int ans = -1;
    double closest = 1_000_000;
    for (int i = 0; i < N; i++) {
      if (ans < 0 || Math.abs(T - H[i] * 0.006 - A) < closest) {
        ans = i + 1;
        closest = Math.abs(T - H[i] * 0.006 - A);
      }
    }
    System.out.println(ans);
  }
} public class Main {
  public static void main(String[] args) {
    Scanner scanner = new Scanner(System.in);

    int N = scanner.nextInt();
    int T = scanner.nextInt();
    int A = scanner.nextInt();
    int[] H = new int[N];
    for (int i = 0; i < N; i++) {
      H[i] = scanner.nextInt();
    }
    int ans = -1;
    double closest = 1_000_000;
    for (int i = 0; i < N; i++) {
      if (ans < 0 || Math.abs(T - H[i] * 0.006 - A) < closest) {
        ans = i + 1;
        closest = Math.abs(T - H[i] * 0.006 - A);
      }
    }
    System.out.println(ans);
  }
} Main
import java.util.Scanner;

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

    int N = scanner.nextInt();
    int T = scanner.nextInt();
    int A = scanner.nextInt();
    int[] H = new int[N];
    for (int i = 0; i < N; i++) {
      H[i] = scanner.nextInt();
    }
    int ans = -1;
    double closest = 1_000_000;
    for (int i = 0; i < N; i++) {
      if (ans < 0 || Math.abs(T - H[i] * 0.006 - A) < closest) {
        ans = i + 1;
        closest = Math.abs(T - H[i] * 0.006 - A);
      }
    }
    System.out.println(ans);
  }
}
