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();
        double a = sc.nextDouble();

        double min = Double.MAX_VALUE;
        int num = 0;

        for (int i = 0; i < n; i++) {
            int h = sc.nextInt();
            double k = t - h * 0.006;
            double sa = Math.abs(a - k);
            if (min > sa) {
                min = sa;
                num = i + 1;
            }
        }

        sc.close();

        System.out.print(num);

    }
} 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();
        double a = sc.nextDouble();

        double min = Double.MAX_VALUE;
        int num = 0;

        for (int i = 0; i < n; i++) {
            int h = sc.nextInt();
            double k = t - h * 0.006;
            double sa = Math.abs(a - k);
            if (min > sa) {
                min = sa;
                num = i + 1;
            }
        }

        sc.close();

        System.out.print(num);

    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int t = sc.nextInt();
        double a = sc.nextDouble();

        double min = Double.MAX_VALUE;
        int num = 0;

        for (int i = 0; i < n; i++) {
            int h = sc.nextInt();
            double k = t - h * 0.006;
            double sa = Math.abs(a - k);
            if (min > sa) {
                min = sa;
                num = i + 1;
            }
        }

        sc.close();

        System.out.print(num);

    } main {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int t = sc.nextInt();
        double a = sc.nextDouble();

        double min = Double.MAX_VALUE;
        int num = 0;

        for (int i = 0; i < n; i++) {
            int h = sc.nextInt();
            double k = t - h * 0.006;
            double sa = Math.abs(a - k);
            if (min > sa) {
                min = sa;
                num = i + 1;
            }
        }

        sc.close();

        System.out.print(num);

    } 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 double a = sc.nextDouble(); a sc.nextDouble() sc.nextDouble sc double min = Double.MAX_VALUE; min Double.MAX_VALUE Double Double.MAX_VALUE int num = 0; num 0 for (int i = 0; i < n; i++) {
            int h = sc.nextInt();
            double k = t - h * 0.006;
            double sa = Math.abs(a - k);
            if (min > sa) {
                min = sa;
                num = i + 1;
            }
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
            int h = sc.nextInt();
            double k = t - h * 0.006;
            double sa = Math.abs(a - k);
            if (min > sa) {
                min = sa;
                num = i + 1;
            }
        } {
            int h = sc.nextInt();
            double k = t - h * 0.006;
            double sa = Math.abs(a - k);
            if (min > sa) {
                min = sa;
                num = i + 1;
            }
        } int h = sc.nextInt(); h sc.nextInt() sc.nextInt sc double k = t - h * 0.006; k t - h * 0.006 t h * 0.006 h 0.006 double sa = Math.abs(a - k); sa Math.abs(a - k) Math.abs Math a - k a k if (min > sa) {
                min = sa;
                num = i + 1;
            } min > sa min sa {
                min = sa;
                num = i + 1;
            } min = sa min sa num = i + 1 num i + 1 i 1 sc.close() sc.close sc System.out.print(num) System.out.print System.out System System.out num 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();
        double a = sc.nextDouble();

        double min = Double.MAX_VALUE;
        int num = 0;

        for (int i = 0; i < n; i++) {
            int h = sc.nextInt();
            double k = t - h * 0.006;
            double sa = Math.abs(a - k);
            if (min > sa) {
                min = sa;
                num = i + 1;
            }
        }

        sc.close();

        System.out.print(num);

    }
} public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int t = sc.nextInt();
        double a = sc.nextDouble();

        double min = Double.MAX_VALUE;
        int num = 0;

        for (int i = 0; i < n; i++) {
            int h = sc.nextInt();
            double k = t - h * 0.006;
            double sa = Math.abs(a - k);
            if (min > sa) {
                min = sa;
                num = i + 1;
            }
        }

        sc.close();

        System.out.print(num);

    }
} 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();
        double a = sc.nextDouble();

        double min = Double.MAX_VALUE;
        int num = 0;

        for (int i = 0; i < n; i++) {
            int h = sc.nextInt();
            double k = t - h * 0.006;
            double sa = Math.abs(a - k);
            if (min > sa) {
                min = sa;
                num = i + 1;
            }
        }

        sc.close();

        System.out.print(num);

    }
}