import java.util.Scanner;

public class Main {

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

        int N = Integer.parseInt(sc.next());
        int T = Integer.parseInt(sc.next());
        int A = Integer.parseInt(sc.next());

        int index = -1;

        double minError = Double.MAX_VALUE;

        for (int i = 0; i < N; i++) {
            int h  = Integer.parseInt(sc.next());

            double error = Math.abs(T - h * 0.006 - A);

            if (error < minError) {
                index = i;
                minError = error;
            }
        }

        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);

        int N = Integer.parseInt(sc.next());
        int T = Integer.parseInt(sc.next());
        int A = Integer.parseInt(sc.next());

        int index = -1;

        double minError = Double.MAX_VALUE;

        for (int i = 0; i < N; i++) {
            int h  = Integer.parseInt(sc.next());

            double error = Math.abs(T - h * 0.006 - A);

            if (error < minError) {
                index = i;
                minError = error;
            }
        }

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

        int N = Integer.parseInt(sc.next());
        int T = Integer.parseInt(sc.next());
        int A = Integer.parseInt(sc.next());

        int index = -1;

        double minError = Double.MAX_VALUE;

        for (int i = 0; i < N; i++) {
            int h  = Integer.parseInt(sc.next());

            double error = Math.abs(T - h * 0.006 - A);

            if (error < minError) {
                index = i;
                minError = error;
            }
        }

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

        int N = Integer.parseInt(sc.next());
        int T = Integer.parseInt(sc.next());
        int A = Integer.parseInt(sc.next());

        int index = -1;

        double minError = Double.MAX_VALUE;

        for (int i = 0; i < N; i++) {
            int h  = Integer.parseInt(sc.next());

            double error = Math.abs(T - h * 0.006 - A);

            if (error < minError) {
                index = i;
                minError = error;
            }
        }

        System.out.println(index + 1);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int N = Integer.parseInt(sc.next()); N Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int T = Integer.parseInt(sc.next()); T Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int A = Integer.parseInt(sc.next()); A Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int index = -1; index -1 1 double minError = Double.MAX_VALUE; minError Double.MAX_VALUE Double Double.MAX_VALUE for (int i = 0; i < N; i++) {
            int h  = Integer.parseInt(sc.next());

            double error = Math.abs(T - h * 0.006 - A);

            if (error < minError) {
                index = i;
                minError = error;
            }
        } int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
            int h  = Integer.parseInt(sc.next());

            double error = Math.abs(T - h * 0.006 - A);

            if (error < minError) {
                index = i;
                minError = error;
            }
        } {
            int h  = Integer.parseInt(sc.next());

            double error = Math.abs(T - h * 0.006 - A);

            if (error < minError) {
                index = i;
                minError = error;
            }
        } int h  = Integer.parseInt(sc.next()); h Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc double error = Math.abs(T - h * 0.006 - A); error 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 (error < minError) {
                index = i;
                minError = error;
            } error < minError error minError {
                index = i;
                minError = error;
            } index = i index i minError = error minError error 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);

        int N = Integer.parseInt(sc.next());
        int T = Integer.parseInt(sc.next());
        int A = Integer.parseInt(sc.next());

        int index = -1;

        double minError = Double.MAX_VALUE;

        for (int i = 0; i < N; i++) {
            int h  = Integer.parseInt(sc.next());

            double error = Math.abs(T - h * 0.006 - A);

            if (error < minError) {
                index = i;
                minError = error;
            }
        }

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

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

        int N = Integer.parseInt(sc.next());
        int T = Integer.parseInt(sc.next());
        int A = Integer.parseInt(sc.next());

        int index = -1;

        double minError = Double.MAX_VALUE;

        for (int i = 0; i < N; i++) {
            int h  = Integer.parseInt(sc.next());

            double error = Math.abs(T - h * 0.006 - A);

            if (error < minError) {
                index = i;
                minError = error;
            }
        }

        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);

        int N = Integer.parseInt(sc.next());
        int T = Integer.parseInt(sc.next());
        int A = Integer.parseInt(sc.next());

        int index = -1;

        double minError = Double.MAX_VALUE;

        for (int i = 0; i < N; i++) {
            int h  = Integer.parseInt(sc.next());

            double error = Math.abs(T - h * 0.006 - A);

            if (error < minError) {
                index = i;
                minError = error;
            }
        }

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