import java.util.Scanner;

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

    void solve(Scanner sc) {
        int n = sc.nextInt();
        int t = sc.nextInt();
        double a = sc.nextDouble();
        double min = Double.MAX_VALUE;
        int index = 0;
        for (int i = 0; i < n; i++) {
            int h =sc.nextInt();
            double tmp = t - h * 0.006d;
            if (min > Math.abs(tmp - a)) {
                min = Math.abs(tmp - a);
                index = i + 1;
            }
        }
        System.out.println(index);
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        try (Scanner sc = new Scanner(System.in);) {
            new Main().solve(sc);
        }
    }

    void solve(Scanner sc) {
        int n = sc.nextInt();
        int t = sc.nextInt();
        double a = sc.nextDouble();
        double min = Double.MAX_VALUE;
        int index = 0;
        for (int i = 0; i < n; i++) {
            int h =sc.nextInt();
            double tmp = t - h * 0.006d;
            if (min > Math.abs(tmp - a)) {
                min = Math.abs(tmp - a);
                index = i + 1;
            }
        }
        System.out.println(index);
    }
} Main public static void main(String[] args) {
        try (Scanner sc = new Scanner(System.in);) {
            new Main().solve(sc);
        }
    } main {
        try (Scanner sc = new Scanner(System.in);) {
            new Main().solve(sc);
        }
    } try (Scanner sc = new Scanner(System.in);) {
            new Main().solve(sc);
        } {
            new Main().solve(sc);
        } Scanner sc = new Scanner(System.in) Scanner sc = new Scanner(System.in) new Scanner(System.in) new Main().solve(sc) new Main().solve new Main() sc String[] args args void solve(Scanner sc) {
        int n = sc.nextInt();
        int t = sc.nextInt();
        double a = sc.nextDouble();
        double min = Double.MAX_VALUE;
        int index = 0;
        for (int i = 0; i < n; i++) {
            int h =sc.nextInt();
            double tmp = t - h * 0.006d;
            if (min > Math.abs(tmp - a)) {
                min = Math.abs(tmp - a);
                index = i + 1;
            }
        }
        System.out.println(index);
    } solve {
        int n = sc.nextInt();
        int t = sc.nextInt();
        double a = sc.nextDouble();
        double min = Double.MAX_VALUE;
        int index = 0;
        for (int i = 0; i < n; i++) {
            int h =sc.nextInt();
            double tmp = t - h * 0.006d;
            if (min > Math.abs(tmp - a)) {
                min = Math.abs(tmp - a);
                index = i + 1;
            }
        }
        System.out.println(index);
    } 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 index = 0; index 0 for (int i = 0; i < n; i++) {
            int h =sc.nextInt();
            double tmp = t - h * 0.006d;
            if (min > Math.abs(tmp - a)) {
                min = Math.abs(tmp - a);
                index = i + 1;
            }
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
            int h =sc.nextInt();
            double tmp = t - h * 0.006d;
            if (min > Math.abs(tmp - a)) {
                min = Math.abs(tmp - a);
                index = i + 1;
            }
        } {
            int h =sc.nextInt();
            double tmp = t - h * 0.006d;
            if (min > Math.abs(tmp - a)) {
                min = Math.abs(tmp - a);
                index = i + 1;
            }
        } int h =sc.nextInt(); h sc.nextInt() sc.nextInt sc double tmp = t - h * 0.006d; tmp t - h * 0.006d t h * 0.006d h 0.006d if (min > Math.abs(tmp - a)) {
                min = Math.abs(tmp - a);
                index = i + 1;
            } min > Math.abs(tmp - a) min Math.abs(tmp - a) Math.abs Math tmp - a tmp a {
                min = Math.abs(tmp - a);
                index = i + 1;
            } min = Math.abs(tmp - a) min Math.abs(tmp - a) Math.abs Math tmp - a tmp a index = i + 1 index i + 1 i 1 System.out.println(index) System.out.println System.out System System.out index Scanner sc sc public class Main {
    public static void main(String[] args) {
        try (Scanner sc = new Scanner(System.in);) {
            new Main().solve(sc);
        }
    }

    void solve(Scanner sc) {
        int n = sc.nextInt();
        int t = sc.nextInt();
        double a = sc.nextDouble();
        double min = Double.MAX_VALUE;
        int index = 0;
        for (int i = 0; i < n; i++) {
            int h =sc.nextInt();
            double tmp = t - h * 0.006d;
            if (min > Math.abs(tmp - a)) {
                min = Math.abs(tmp - a);
                index = i + 1;
            }
        }
        System.out.println(index);
    }
} public class Main {
    public static void main(String[] args) {
        try (Scanner sc = new Scanner(System.in);) {
            new Main().solve(sc);
        }
    }

    void solve(Scanner sc) {
        int n = sc.nextInt();
        int t = sc.nextInt();
        double a = sc.nextDouble();
        double min = Double.MAX_VALUE;
        int index = 0;
        for (int i = 0; i < n; i++) {
            int h =sc.nextInt();
            double tmp = t - h * 0.006d;
            if (min > Math.abs(tmp - a)) {
                min = Math.abs(tmp - a);
                index = i + 1;
            }
        }
        System.out.println(index);
    }
} Main
import java.util.Scanner;

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

    void solve(Scanner sc) {
        int n = sc.nextInt();
        int t = sc.nextInt();
        double a = sc.nextDouble();
        double min = Double.MAX_VALUE;
        int index = 0;
        for (int i = 0; i < n; i++) {
            int h =sc.nextInt();
            double tmp = t - h * 0.006d;
            if (min > Math.abs(tmp - a)) {
                min = Math.abs(tmp - a);
                index = i + 1;
            }
        }
        System.out.println(index);
    }
}