import java.util.Scanner;

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 min = 999999999;
        int point = 0;

        int[] h = new int[n];
        for (int i = 0; i < n; i++) {
            h[i] = sc.nextInt();
            double temp = t - (h[i] * 0.006);
            double difference = Math.abs(a - temp);
            if (difference < min) {
                min = difference;
                point = i;
            }
        }
        System.out.println(point + 1);
    }
} import java.util.Scanner; Scanner 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 min = 999999999;
        int point = 0;

        int[] h = new int[n];
        for (int i = 0; i < n; i++) {
            h[i] = sc.nextInt();
            double temp = t - (h[i] * 0.006);
            double difference = Math.abs(a - temp);
            if (difference < min) {
                min = difference;
                point = i;
            }
        }
        System.out.println(point + 1);
    }
} 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 min = 999999999;
        int point = 0;

        int[] h = new int[n];
        for (int i = 0; i < n; i++) {
            h[i] = sc.nextInt();
            double temp = t - (h[i] * 0.006);
            double difference = Math.abs(a - temp);
            if (difference < min) {
                min = difference;
                point = i;
            }
        }
        System.out.println(point + 1);
    } main {
        Scanner sc = new Scanner(System.in);

        int n = sc.nextInt();
        int t = sc.nextInt();
        int a = sc.nextInt();

        double min = 999999999;
        int point = 0;

        int[] h = new int[n];
        for (int i = 0; i < n; i++) {
            h[i] = sc.nextInt();
            double temp = t - (h[i] * 0.006);
            double difference = Math.abs(a - temp);
            if (difference < min) {
                min = difference;
                point = i;
            }
        }
        System.out.println(point + 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 double min = 999999999; min 999999999 int point = 0; point 0 int[] h = new int[n]; h new int[n] n for (int i = 0; i < n; i++) {
            h[i] = sc.nextInt();
            double temp = t - (h[i] * 0.006);
            double difference = Math.abs(a - temp);
            if (difference < min) {
                min = difference;
                point = i;
            }
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
            h[i] = sc.nextInt();
            double temp = t - (h[i] * 0.006);
            double difference = Math.abs(a - temp);
            if (difference < min) {
                min = difference;
                point = i;
            }
        } {
            h[i] = sc.nextInt();
            double temp = t - (h[i] * 0.006);
            double difference = Math.abs(a - temp);
            if (difference < min) {
                min = difference;
                point = i;
            }
        } h[i] = sc.nextInt() h[i] h i sc.nextInt() sc.nextInt sc double temp = t - (h[i] * 0.006); temp t - (h[i] * 0.006) t (h[i] * 0.006) h[i] h i 0.006 double difference = Math.abs(a - temp); difference Math.abs(a - temp) Math.abs Math a - temp a temp if (difference < min) {
                min = difference;
                point = i;
            } difference < min difference min {
                min = difference;
                point = i;
            } min = difference min difference point = i point i System.out.println(point + 1) System.out.println System.out System System.out point + 1 point 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();
        int a = sc.nextInt();

        double min = 999999999;
        int point = 0;

        int[] h = new int[n];
        for (int i = 0; i < n; i++) {
            h[i] = sc.nextInt();
            double temp = t - (h[i] * 0.006);
            double difference = Math.abs(a - temp);
            if (difference < min) {
                min = difference;
                point = i;
            }
        }
        System.out.println(point + 1);
    }
} 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 min = 999999999;
        int point = 0;

        int[] h = new int[n];
        for (int i = 0; i < n; i++) {
            h[i] = sc.nextInt();
            double temp = t - (h[i] * 0.006);
            double difference = Math.abs(a - temp);
            if (difference < min) {
                min = difference;
                point = i;
            }
        }
        System.out.println(point + 1);
    }
} Main
import java.util.Scanner;

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 min = 999999999;
        int point = 0;

        int[] h = new int[n];
        for (int i = 0; i < n; i++) {
            h[i] = sc.nextInt();
            double temp = t - (h[i] * 0.006);
            double difference = Math.abs(a - temp);
            if (difference < min) {
                min = difference;
                point = i;
            }
        }
        System.out.println(point + 1);
    }
}
