import java.util.*;

public class Main {

    static Scanner sc = new Scanner(System.in);

    public static void main(String[] args) {
        int N = sc.nextInt();
        int T = sc.nextInt();
        int A = sc.nextInt();

        int ans = 0;
        double minDiff = Double.MAX_VALUE;
        for (int i = 0; i < N; i++) {
            int h = sc.nextInt();
            double temp = (double) T - (((double) h) * 0.006);
            double diff = Math.abs((double) A - temp);
            if (minDiff > diff) {
                minDiff = diff;
                ans = i + 1;
            }
        }
        System.out.println(ans);
    }
} import java.util.*; util.* java public class Main {

    static Scanner sc = new Scanner(System.in);

    public static void main(String[] args) {
        int N = sc.nextInt();
        int T = sc.nextInt();
        int A = sc.nextInt();

        int ans = 0;
        double minDiff = Double.MAX_VALUE;
        for (int i = 0; i < N; i++) {
            int h = sc.nextInt();
            double temp = (double) T - (((double) h) * 0.006);
            double diff = Math.abs((double) A - temp);
            if (minDiff > diff) {
                minDiff = diff;
                ans = i + 1;
            }
        }
        System.out.println(ans);
    }
} Main static Scanner sc = new Scanner(System.in); sc new Scanner(System.in) public static void main(String[] args) {
        int N = sc.nextInt();
        int T = sc.nextInt();
        int A = sc.nextInt();

        int ans = 0;
        double minDiff = Double.MAX_VALUE;
        for (int i = 0; i < N; i++) {
            int h = sc.nextInt();
            double temp = (double) T - (((double) h) * 0.006);
            double diff = Math.abs((double) A - temp);
            if (minDiff > diff) {
                minDiff = diff;
                ans = i + 1;
            }
        }
        System.out.println(ans);
    } main {
        int N = sc.nextInt();
        int T = sc.nextInt();
        int A = sc.nextInt();

        int ans = 0;
        double minDiff = Double.MAX_VALUE;
        for (int i = 0; i < N; i++) {
            int h = sc.nextInt();
            double temp = (double) T - (((double) h) * 0.006);
            double diff = Math.abs((double) A - temp);
            if (minDiff > diff) {
                minDiff = diff;
                ans = i + 1;
            }
        }
        System.out.println(ans);
    } int N = sc.nextInt(); N sc.nextInt() sc.nextInt sc int T = sc.nextInt(); T sc.nextInt() sc.nextInt sc int A = sc.nextInt(); A sc.nextInt() sc.nextInt sc int ans = 0; ans 0 double minDiff = Double.MAX_VALUE; minDiff Double.MAX_VALUE Double Double.MAX_VALUE for (int i = 0; i < N; i++) {
            int h = sc.nextInt();
            double temp = (double) T - (((double) h) * 0.006);
            double diff = Math.abs((double) A - temp);
            if (minDiff > diff) {
                minDiff = diff;
                ans = i + 1;
            }
        } int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
            int h = sc.nextInt();
            double temp = (double) T - (((double) h) * 0.006);
            double diff = Math.abs((double) A - temp);
            if (minDiff > diff) {
                minDiff = diff;
                ans = i + 1;
            }
        } {
            int h = sc.nextInt();
            double temp = (double) T - (((double) h) * 0.006);
            double diff = Math.abs((double) A - temp);
            if (minDiff > diff) {
                minDiff = diff;
                ans = i + 1;
            }
        } int h = sc.nextInt(); h sc.nextInt() sc.nextInt sc double temp = (double) T - (((double) h) * 0.006); temp (double) T - (((double) h) * 0.006) (double) T (((double) h) * 0.006) ((double) h) 0.006 double diff = Math.abs((double) A - temp); diff Math.abs((double) A - temp) Math.abs Math (double) A - temp (double) A temp if (minDiff > diff) {
                minDiff = diff;
                ans = i + 1;
            } minDiff > diff minDiff diff {
                minDiff = diff;
                ans = i + 1;
            } minDiff = diff minDiff diff 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 Scanner sc = new Scanner(System.in);

    public static void main(String[] args) {
        int N = sc.nextInt();
        int T = sc.nextInt();
        int A = sc.nextInt();

        int ans = 0;
        double minDiff = Double.MAX_VALUE;
        for (int i = 0; i < N; i++) {
            int h = sc.nextInt();
            double temp = (double) T - (((double) h) * 0.006);
            double diff = Math.abs((double) A - temp);
            if (minDiff > diff) {
                minDiff = diff;
                ans = i + 1;
            }
        }
        System.out.println(ans);
    }
} public class Main {

    static Scanner sc = new Scanner(System.in);

    public static void main(String[] args) {
        int N = sc.nextInt();
        int T = sc.nextInt();
        int A = sc.nextInt();

        int ans = 0;
        double minDiff = Double.MAX_VALUE;
        for (int i = 0; i < N; i++) {
            int h = sc.nextInt();
            double temp = (double) T - (((double) h) * 0.006);
            double diff = Math.abs((double) A - temp);
            if (minDiff > diff) {
                minDiff = diff;
                ans = i + 1;
            }
        }
        System.out.println(ans);
    }
} Main
import java.util.*;

public class Main {

    static Scanner sc = new Scanner(System.in);

    public static void main(String[] args) {
        int N = sc.nextInt();
        int T = sc.nextInt();
        int A = sc.nextInt();

        int ans = 0;
        double minDiff = Double.MAX_VALUE;
        for (int i = 0; i < N; i++) {
            int h = sc.nextInt();
            double temp = (double) T - (((double) h) * 0.006);
            double diff = Math.abs((double) A - temp);
            if (minDiff > diff) {
                minDiff = diff;
                ans = i + 1;
            }
        }
        System.out.println(ans);
    }
}