import java.util.Scanner;

public class Main {

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

        final int N = sc.nextInt();
        final int T = sc.nextInt();
        final int A = sc.nextInt();
        final int[] H = new int[N];
        for (int i = 0; i < N; i++) {
            H[i] = sc.nextInt();
        }

        int index = -1;
        double min = Integer.MAX_VALUE;
        for (int i = 0; i < N; i++) {
            double x = T - H[i] * 0.006;
            if (Math.abs(A-x) < min) {
                index = i;
                min = Math.abs(A-x);
            }
        }

        System.out.println(index+1);
    }
} import java.util.Scanner; Scanner java.util public class Main {

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

        final int N = sc.nextInt();
        final int T = sc.nextInt();
        final int A = sc.nextInt();
        final int[] H = new int[N];
        for (int i = 0; i < N; i++) {
            H[i] = sc.nextInt();
        }

        int index = -1;
        double min = Integer.MAX_VALUE;
        for (int i = 0; i < N; i++) {
            double x = T - H[i] * 0.006;
            if (Math.abs(A-x) < min) {
                index = i;
                min = Math.abs(A-x);
            }
        }

        System.out.println(index+1);
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        final int N = sc.nextInt();
        final int T = sc.nextInt();
        final int A = sc.nextInt();
        final int[] H = new int[N];
        for (int i = 0; i < N; i++) {
            H[i] = sc.nextInt();
        }

        int index = -1;
        double min = Integer.MAX_VALUE;
        for (int i = 0; i < N; i++) {
            double x = T - H[i] * 0.006;
            if (Math.abs(A-x) < min) {
                index = i;
                min = Math.abs(A-x);
            }
        }

        System.out.println(index+1);
    } main {
        Scanner sc = new Scanner(System.in);

        final int N = sc.nextInt();
        final int T = sc.nextInt();
        final int A = sc.nextInt();
        final int[] H = new int[N];
        for (int i = 0; i < N; i++) {
            H[i] = sc.nextInt();
        }

        int index = -1;
        double min = Integer.MAX_VALUE;
        for (int i = 0; i < N; i++) {
            double x = T - H[i] * 0.006;
            if (Math.abs(A-x) < min) {
                index = i;
                min = Math.abs(A-x);
            }
        }

        System.out.println(index+1);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) final int N = sc.nextInt(); N sc.nextInt() sc.nextInt sc final int T = sc.nextInt(); T sc.nextInt() sc.nextInt sc final int A = sc.nextInt(); A sc.nextInt() sc.nextInt sc final int[] H = new int[N]; H new int[N] N for (int i = 0; i < N; i++) {
            H[i] = sc.nextInt();
        } int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
            H[i] = sc.nextInt();
        } {
            H[i] = sc.nextInt();
        } H[i] = sc.nextInt() H[i] H i sc.nextInt() sc.nextInt sc int index = -1; index -1 1 double min = Integer.MAX_VALUE; min Integer.MAX_VALUE Integer Integer.MAX_VALUE for (int i = 0; i < N; i++) {
            double x = T - H[i] * 0.006;
            if (Math.abs(A-x) < min) {
                index = i;
                min = Math.abs(A-x);
            }
        } int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
            double x = T - H[i] * 0.006;
            if (Math.abs(A-x) < min) {
                index = i;
                min = Math.abs(A-x);
            }
        } {
            double x = T - H[i] * 0.006;
            if (Math.abs(A-x) < min) {
                index = i;
                min = Math.abs(A-x);
            }
        } double x = T - H[i] * 0.006; x T - H[i] * 0.006 T H[i] * 0.006 H[i] H i 0.006 if (Math.abs(A-x) < min) {
                index = i;
                min = Math.abs(A-x);
            } Math.abs(A-x) < min Math.abs(A-x) Math.abs Math A-x A x min {
                index = i;
                min = Math.abs(A-x);
            } index = i index i min = Math.abs(A-x) min Math.abs(A-x) Math.abs Math A-x A x System.out.println(index+1) System.out.println System.out System System.out index+1 index 1 String[] args args public class Main {

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

        final int N = sc.nextInt();
        final int T = sc.nextInt();
        final int A = sc.nextInt();
        final int[] H = new int[N];
        for (int i = 0; i < N; i++) {
            H[i] = sc.nextInt();
        }

        int index = -1;
        double min = Integer.MAX_VALUE;
        for (int i = 0; i < N; i++) {
            double x = T - H[i] * 0.006;
            if (Math.abs(A-x) < min) {
                index = i;
                min = Math.abs(A-x);
            }
        }

        System.out.println(index+1);
    }
} public class Main {

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

        final int N = sc.nextInt();
        final int T = sc.nextInt();
        final int A = sc.nextInt();
        final int[] H = new int[N];
        for (int i = 0; i < N; i++) {
            H[i] = sc.nextInt();
        }

        int index = -1;
        double min = Integer.MAX_VALUE;
        for (int i = 0; i < N; i++) {
            double x = T - H[i] * 0.006;
            if (Math.abs(A-x) < min) {
                index = i;
                min = Math.abs(A-x);
            }
        }

        System.out.println(index+1);
    }
} Main
import java.util.Scanner;

public class Main {

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

        final int N = sc.nextInt();
        final int T = sc.nextInt();
        final int A = sc.nextInt();
        final int[] H = new int[N];
        for (int i = 0; i < N; i++) {
            H[i] = sc.nextInt();
        }

        int index = -1;
        double min = Integer.MAX_VALUE;
        for (int i = 0; i < N; i++) {
            double x = T - H[i] * 0.006;
            if (Math.abs(A-x) < min) {
                index = i;
                min = Math.abs(A-x);
            }
        }

        System.out.println(index+1);
    }
}
