import java.util.*;

public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int T = sc.nextInt();
        int A = sc.nextInt();
        double result = -1;
        int resultN = N;
        for (int i = 0; i<N; i++) {
            int h = sc.nextInt();
            double t = Math.abs(A - (T - (h * 0.006)));
            if (t < result || result < 0) {
                result = t;
                resultN = i + 1;
            }
        }

        System.out.println(resultN);
    }

} import java.util.*; util.* java public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int T = sc.nextInt();
        int A = sc.nextInt();
        double result = -1;
        int resultN = N;
        for (int i = 0; i<N; i++) {
            int h = sc.nextInt();
            double t = Math.abs(A - (T - (h * 0.006)));
            if (t < result || result < 0) {
                result = t;
                resultN = i + 1;
            }
        }

        System.out.println(resultN);
    }

} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int T = sc.nextInt();
        int A = sc.nextInt();
        double result = -1;
        int resultN = N;
        for (int i = 0; i<N; i++) {
            int h = sc.nextInt();
            double t = Math.abs(A - (T - (h * 0.006)));
            if (t < result || result < 0) {
                result = t;
                resultN = i + 1;
            }
        }

        System.out.println(resultN);
    } main {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int T = sc.nextInt();
        int A = sc.nextInt();
        double result = -1;
        int resultN = N;
        for (int i = 0; i<N; i++) {
            int h = sc.nextInt();
            double t = Math.abs(A - (T - (h * 0.006)));
            if (t < result || result < 0) {
                result = t;
                resultN = i + 1;
            }
        }

        System.out.println(resultN);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) 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 double result = -1; result -1 1 int resultN = N; resultN N for (int i = 0; i<N; i++) {
            int h = sc.nextInt();
            double t = Math.abs(A - (T - (h * 0.006)));
            if (t < result || result < 0) {
                result = t;
                resultN = i + 1;
            }
        } int i = 0; int i = 0; i 0 i<N i N i++ i++ i {
            int h = sc.nextInt();
            double t = Math.abs(A - (T - (h * 0.006)));
            if (t < result || result < 0) {
                result = t;
                resultN = i + 1;
            }
        } {
            int h = sc.nextInt();
            double t = Math.abs(A - (T - (h * 0.006)));
            if (t < result || result < 0) {
                result = t;
                resultN = i + 1;
            }
        } int h = sc.nextInt(); h sc.nextInt() sc.nextInt sc double t = Math.abs(A - (T - (h * 0.006))); t Math.abs(A - (T - (h * 0.006))) Math.abs Math A - (T - (h * 0.006)) A (T - (h * 0.006)) T (h * 0.006) h 0.006 if (t < result || result < 0) {
                result = t;
                resultN = i + 1;
            } t < result || result < 0 t < result t result result < 0 result 0 {
                result = t;
                resultN = i + 1;
            } result = t result t resultN = i + 1 resultN i + 1 i 1 System.out.println(resultN) System.out.println System.out System System.out resultN String[] args args public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int T = sc.nextInt();
        int A = sc.nextInt();
        double result = -1;
        int resultN = N;
        for (int i = 0; i<N; i++) {
            int h = sc.nextInt();
            double t = Math.abs(A - (T - (h * 0.006)));
            if (t < result || result < 0) {
                result = t;
                resultN = i + 1;
            }
        }

        System.out.println(resultN);
    }

} public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int T = sc.nextInt();
        int A = sc.nextInt();
        double result = -1;
        int resultN = N;
        for (int i = 0; i<N; i++) {
            int h = sc.nextInt();
            double t = Math.abs(A - (T - (h * 0.006)));
            if (t < result || result < 0) {
                result = t;
                resultN = i + 1;
            }
        }

        System.out.println(resultN);
    }

} Main
import java.util.*;

public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int T = sc.nextInt();
        int A = sc.nextInt();
        double result = -1;
        int resultN = N;
        for (int i = 0; i<N; i++) {
            int h = sc.nextInt();
            double t = Math.abs(A - (T - (h * 0.006)));
            if (t < result || result < 0) {
                result = t;
                resultN = i + 1;
            }
        }

        System.out.println(resultN);
    }

}