import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        final 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++) {
            final double x = t - h[i] * 0.006;
            final double near = Math.abs(a-x);
            if (near < min) {
                index = i;
                min = near;
            }
        }

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

    public static void main(String[] args) {
        final 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++) {
            final double x = t - h[i] * 0.006;
            final double near = Math.abs(a-x);
            if (near < min) {
                index = i;
                min = near;
            }
        }

        System.out.println(index+1);
    }
} Main public static void main(String[] args) {
        final 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++) {
            final double x = t - h[i] * 0.006;
            final double near = Math.abs(a-x);
            if (near < min) {
                index = i;
                min = near;
            }
        }

        System.out.println(index+1);
    } main {
        final 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++) {
            final double x = t - h[i] * 0.006;
            final double near = Math.abs(a-x);
            if (near < min) {
                index = i;
                min = near;
            }
        }

        System.out.println(index+1);
    } final 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++) {
            final double x = t - h[i] * 0.006;
            final double near = Math.abs(a-x);
            if (near < min) {
                index = i;
                min = near;
            }
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
            final double x = t - h[i] * 0.006;
            final double near = Math.abs(a-x);
            if (near < min) {
                index = i;
                min = near;
            }
        } {
            final double x = t - h[i] * 0.006;
            final double near = Math.abs(a-x);
            if (near < min) {
                index = i;
                min = near;
            }
        } final double x = t - h[i] * 0.006; x t - h[i] * 0.006 t h[i] * 0.006 h[i] h i 0.006 final double near = Math.abs(a-x); near Math.abs(a-x) Math.abs Math a-x a x if (near < min) {
                index = i;
                min = near;
            } near < min near min {
                index = i;
                min = near;
            } index = i index i min = near min near 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) {
        final 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++) {
            final double x = t - h[i] * 0.006;
            final double near = Math.abs(a-x);
            if (near < min) {
                index = i;
                min = near;
            }
        }

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

    public static void main(String[] args) {
        final 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++) {
            final double x = t - h[i] * 0.006;
            final double near = Math.abs(a-x);
            if (near < min) {
                index = i;
                min = near;
            }
        }

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

public class Main {

    public static void main(String[] args) {
        final 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++) {
            final double x = t - h[i] * 0.006;
            final double near = Math.abs(a-x);
            if (near < min) {
                index = i;
                min = near;
            }
        }

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