import java.util.Scanner;

public class Main {

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

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

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

public class Main {

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