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(); // T - 標高 x 0.006
        int a = sc.nextInt(); // 目標の値
        int[] hArr = new int[n];

        for (int i = 0; i < n; i++) {
            hArr[i] = sc.nextInt();
        }

        double res = 10000.0d;
        int ans = 0;
        for (int i = 0; i < n; i++) {
            double tmpRes = t - (hArr[i] * 0.006);
            if (res > (Math.abs(a - tmpRes))) {
                res = Math.abs(a - tmpRes);
                ans = i;
            }
        }

        System.out.println(ans+1);
    }
} 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(); // T - 標高 x 0.006
        int a = sc.nextInt(); // 目標の値
        int[] hArr = new int[n];

        for (int i = 0; i < n; i++) {
            hArr[i] = sc.nextInt();
        }

        double res = 10000.0d;
        int ans = 0;
        for (int i = 0; i < n; i++) {
            double tmpRes = t - (hArr[i] * 0.006);
            if (res > (Math.abs(a - tmpRes))) {
                res = Math.abs(a - tmpRes);
                ans = i;
            }
        }

        System.out.println(ans+1);
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int t = sc.nextInt(); // T - 標高 x 0.006
        int a = sc.nextInt(); // 目標の値
        int[] hArr = new int[n];

        for (int i = 0; i < n; i++) {
            hArr[i] = sc.nextInt();
        }

        double res = 10000.0d;
        int ans = 0;
        for (int i = 0; i < n; i++) {
            double tmpRes = t - (hArr[i] * 0.006);
            if (res > (Math.abs(a - tmpRes))) {
                res = Math.abs(a - tmpRes);
                ans = i;
            }
        }

        System.out.println(ans+1);
    } main {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int t = sc.nextInt(); // T - 標高 x 0.006
        int a = sc.nextInt(); // 目標の値
        int[] hArr = new int[n];

        for (int i = 0; i < n; i++) {
            hArr[i] = sc.nextInt();
        }

        double res = 10000.0d;
        int ans = 0;
        for (int i = 0; i < n; i++) {
            double tmpRes = t - (hArr[i] * 0.006);
            if (res > (Math.abs(a - tmpRes))) {
                res = Math.abs(a - tmpRes);
                ans = i;
            }
        }

        System.out.println(ans+1);
    } 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 int[] hArr = new int[n]; hArr new int[n] n for (int i = 0; i < n; i++) {
            hArr[i] = sc.nextInt();
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
            hArr[i] = sc.nextInt();
        } {
            hArr[i] = sc.nextInt();
        } hArr[i] = sc.nextInt() hArr[i] hArr i sc.nextInt() sc.nextInt sc double res = 10000.0d; res 10000.0d int ans = 0; ans 0 for (int i = 0; i < n; i++) {
            double tmpRes = t - (hArr[i] * 0.006);
            if (res > (Math.abs(a - tmpRes))) {
                res = Math.abs(a - tmpRes);
                ans = i;
            }
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
            double tmpRes = t - (hArr[i] * 0.006);
            if (res > (Math.abs(a - tmpRes))) {
                res = Math.abs(a - tmpRes);
                ans = i;
            }
        } {
            double tmpRes = t - (hArr[i] * 0.006);
            if (res > (Math.abs(a - tmpRes))) {
                res = Math.abs(a - tmpRes);
                ans = i;
            }
        } double tmpRes = t - (hArr[i] * 0.006); tmpRes t - (hArr[i] * 0.006) t (hArr[i] * 0.006) hArr[i] hArr i 0.006 if (res > (Math.abs(a - tmpRes))) {
                res = Math.abs(a - tmpRes);
                ans = i;
            } res > (Math.abs(a - tmpRes)) res (Math.abs(a - tmpRes)) Math.abs Math a - tmpRes a tmpRes {
                res = Math.abs(a - tmpRes);
                ans = i;
            } res = Math.abs(a - tmpRes) res Math.abs(a - tmpRes) Math.abs Math a - tmpRes a tmpRes ans = i ans i System.out.println(ans+1) System.out.println System.out System System.out ans+1 ans 1 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(); // T - 標高 x 0.006
        int a = sc.nextInt(); // 目標の値
        int[] hArr = new int[n];

        for (int i = 0; i < n; i++) {
            hArr[i] = sc.nextInt();
        }

        double res = 10000.0d;
        int ans = 0;
        for (int i = 0; i < n; i++) {
            double tmpRes = t - (hArr[i] * 0.006);
            if (res > (Math.abs(a - tmpRes))) {
                res = Math.abs(a - tmpRes);
                ans = i;
            }
        }

        System.out.println(ans+1);
    }
} public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int t = sc.nextInt(); // T - 標高 x 0.006
        int a = sc.nextInt(); // 目標の値
        int[] hArr = new int[n];

        for (int i = 0; i < n; i++) {
            hArr[i] = sc.nextInt();
        }

        double res = 10000.0d;
        int ans = 0;
        for (int i = 0; i < n; i++) {
            double tmpRes = t - (hArr[i] * 0.006);
            if (res > (Math.abs(a - tmpRes))) {
                res = Math.abs(a - tmpRes);
                ans = i;
            }
        }

        System.out.println(ans+1);
    }
} 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(); // T - 標高 x 0.006
        int a = sc.nextInt(); // 目標の値
        int[] hArr = new int[n];

        for (int i = 0; i < n; i++) {
            hArr[i] = sc.nextInt();
        }

        double res = 10000.0d;
        int ans = 0;
        for (int i = 0; i < n; i++) {
            double tmpRes = t - (hArr[i] * 0.006);
            if (res > (Math.abs(a - tmpRes))) {
                res = Math.abs(a - tmpRes);
                ans = i;
            }
        }

        System.out.println(ans+1);
    }
}
