import java.util.*;

public class Main {

    public static void main(String[] args) {
	    // write your code here
        Scanner sc = new Scanner(System.in);

        // 整数の入力
        int n = sc.nextInt();
        int t = sc.nextInt();
        int a = sc.nextInt();
        int ans = 0;
        double nearestGap = Integer.MAX_VALUE;

        for(int i = 0; i < n; i++) {
            double value = t - (sc.nextInt() * 0.006);
            double gap = Math.abs(value - a);
            if (gap < nearestGap) {
                nearestGap = gap;
                ans = i;
            }
        }

        // 出力
        System.out.println(++ans);
    }
} import java.util.*; util.* java public class Main {

    public static void main(String[] args) {
	    // write your code here
        Scanner sc = new Scanner(System.in);

        // 整数の入力
        int n = sc.nextInt();
        int t = sc.nextInt();
        int a = sc.nextInt();
        int ans = 0;
        double nearestGap = Integer.MAX_VALUE;

        for(int i = 0; i < n; i++) {
            double value = t - (sc.nextInt() * 0.006);
            double gap = Math.abs(value - a);
            if (gap < nearestGap) {
                nearestGap = gap;
                ans = i;
            }
        }

        // 出力
        System.out.println(++ans);
    }
} Main public static void main(String[] args) {
	    // write your code here
        Scanner sc = new Scanner(System.in);

        // 整数の入力
        int n = sc.nextInt();
        int t = sc.nextInt();
        int a = sc.nextInt();
        int ans = 0;
        double nearestGap = Integer.MAX_VALUE;

        for(int i = 0; i < n; i++) {
            double value = t - (sc.nextInt() * 0.006);
            double gap = Math.abs(value - a);
            if (gap < nearestGap) {
                nearestGap = gap;
                ans = i;
            }
        }

        // 出力
        System.out.println(++ans);
    } main {
	    // write your code here
        Scanner sc = new Scanner(System.in);

        // 整数の入力
        int n = sc.nextInt();
        int t = sc.nextInt();
        int a = sc.nextInt();
        int ans = 0;
        double nearestGap = Integer.MAX_VALUE;

        for(int i = 0; i < n; i++) {
            double value = t - (sc.nextInt() * 0.006);
            double gap = Math.abs(value - a);
            if (gap < nearestGap) {
                nearestGap = gap;
                ans = i;
            }
        }

        // 出力
        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 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 nearestGap = Integer.MAX_VALUE; nearestGap Integer.MAX_VALUE Integer Integer.MAX_VALUE for(int i = 0; i < n; i++) {
            double value = t - (sc.nextInt() * 0.006);
            double gap = Math.abs(value - a);
            if (gap < nearestGap) {
                nearestGap = gap;
                ans = i;
            }
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
            double value = t - (sc.nextInt() * 0.006);
            double gap = Math.abs(value - a);
            if (gap < nearestGap) {
                nearestGap = gap;
                ans = i;
            }
        } {
            double value = t - (sc.nextInt() * 0.006);
            double gap = Math.abs(value - a);
            if (gap < nearestGap) {
                nearestGap = gap;
                ans = i;
            }
        } double value = t - (sc.nextInt() * 0.006); value t - (sc.nextInt() * 0.006) t (sc.nextInt() * 0.006) sc.nextInt() sc.nextInt sc 0.006 double gap = Math.abs(value - a); gap Math.abs(value - a) Math.abs Math value - a value a if (gap < nearestGap) {
                nearestGap = gap;
                ans = i;
            } gap < nearestGap gap nearestGap {
                nearestGap = gap;
                ans = i;
            } nearestGap = gap nearestGap gap ans = i ans i System.out.println(++ans) System.out.println System.out System System.out ++ans ans String[] args args public class Main {

    public static void main(String[] args) {
	    // write your code here
        Scanner sc = new Scanner(System.in);

        // 整数の入力
        int n = sc.nextInt();
        int t = sc.nextInt();
        int a = sc.nextInt();
        int ans = 0;
        double nearestGap = Integer.MAX_VALUE;

        for(int i = 0; i < n; i++) {
            double value = t - (sc.nextInt() * 0.006);
            double gap = Math.abs(value - a);
            if (gap < nearestGap) {
                nearestGap = gap;
                ans = i;
            }
        }

        // 出力
        System.out.println(++ans);
    }
} public class Main {

    public static void main(String[] args) {
	    // write your code here
        Scanner sc = new Scanner(System.in);

        // 整数の入力
        int n = sc.nextInt();
        int t = sc.nextInt();
        int a = sc.nextInt();
        int ans = 0;
        double nearestGap = Integer.MAX_VALUE;

        for(int i = 0; i < n; i++) {
            double value = t - (sc.nextInt() * 0.006);
            double gap = Math.abs(value - a);
            if (gap < nearestGap) {
                nearestGap = gap;
                ans = i;
            }
        }

        // 出力
        System.out.println(++ans);
    }
} Main
import java.util.*;

public class Main {

    public static void main(String[] args) {
	    // write your code here
        Scanner sc = new Scanner(System.in);

        // 整数の入力
        int n = sc.nextInt();
        int t = sc.nextInt();
        int a = sc.nextInt();
        int ans = 0;
        double nearestGap = Integer.MAX_VALUE;

        for(int i = 0; i < n; i++) {
            double value = t - (sc.nextInt() * 0.006);
            double gap = Math.abs(value - a);
            if (gap < nearestGap) {
                nearestGap = gap;
                ans = i;
            }
        }

        // 出力
        System.out.println(++ans);
    }
}
