import java.math.*;
import java.util.*;

public class Main {
    static double deg(double t, double h) {
        return t - (h * 0.006);
    }

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        double n = sc.nextDouble();
        double t = sc.nextDouble();
        double a = sc.nextDouble();
        double gap = 0;
        int ans = 0;
        for (int i = 0; i < n; i++) {
            double tmp = sc.nextDouble();
            if (i == 0) {
                ans = i + 1;
                gap = Math.abs(a -deg(t, tmp));
            }
            if (Math.abs(a - deg(t, tmp)) < gap) {
                gap = Math.abs(a - deg(t, tmp));
                ans = i + 1;
            }
        }
        System.out.println(ans);
    }
} import java.math.*; math.* java import java.util.*; util.* java public class Main {
    static double deg(double t, double h) {
        return t - (h * 0.006);
    }

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

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

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        double n = sc.nextDouble();
        double t = sc.nextDouble();
        double a = sc.nextDouble();
        double gap = 0;
        int ans = 0;
        for (int i = 0; i < n; i++) {
            double tmp = sc.nextDouble();
            if (i == 0) {
                ans = i + 1;
                gap = Math.abs(a -deg(t, tmp));
            }
            if (Math.abs(a - deg(t, tmp)) < gap) {
                gap = Math.abs(a - deg(t, tmp));
                ans = i + 1;
            }
        }
        System.out.println(ans);
    }
} Main
import java.math.*;
import java.util.*;

public class Main {
    static double deg(double t, double h) {
        return t - (h * 0.006);
    }

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        double n = sc.nextDouble();
        double t = sc.nextDouble();
        double a = sc.nextDouble();
        double gap = 0;
        int ans = 0;
        for (int i = 0; i < n; i++) {
            double tmp = sc.nextDouble();
            if (i == 0) {
                ans = i + 1;
                gap = Math.abs(a -deg(t, tmp));
            }
            if (Math.abs(a - deg(t, tmp)) < gap) {
                gap = Math.abs(a - deg(t, tmp));
                ans = i + 1;
            }
        }
        System.out.println(ans);
    }
}
