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[] ave = new double[N];
        for (int i = 0; i < N; i++) {
            int H = sc.nextInt();
            ave[i] = Math.abs(T - H * 0.006 - A);
        }
        double min = Math.pow(10, 9);
        int res = 0;
        for (int i = 0; i < N; i++) {
            min = Math.min(min, ave[i]);
            if (ave[i] == min) {
                res = i + 1;
            }
        }
        System.out.println(res);
        sc.close();
    }
} 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[] ave = new double[N];
        for (int i = 0; i < N; i++) {
            int H = sc.nextInt();
            ave[i] = Math.abs(T - H * 0.006 - A);
        }
        double min = Math.pow(10, 9);
        int res = 0;
        for (int i = 0; i < N; i++) {
            min = Math.min(min, ave[i]);
            if (ave[i] == min) {
                res = i + 1;
            }
        }
        System.out.println(res);
        sc.close();
    }
} 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[] ave = new double[N];
        for (int i = 0; i < N; i++) {
            int H = sc.nextInt();
            ave[i] = Math.abs(T - H * 0.006 - A);
        }
        double min = Math.pow(10, 9);
        int res = 0;
        for (int i = 0; i < N; i++) {
            min = Math.min(min, ave[i]);
            if (ave[i] == min) {
                res = i + 1;
            }
        }
        System.out.println(res);
        sc.close();
    } main {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int T = sc.nextInt();
        int A = sc.nextInt();
        double[] ave = new double[N];
        for (int i = 0; i < N; i++) {
            int H = sc.nextInt();
            ave[i] = Math.abs(T - H * 0.006 - A);
        }
        double min = Math.pow(10, 9);
        int res = 0;
        for (int i = 0; i < N; i++) {
            min = Math.min(min, ave[i]);
            if (ave[i] == min) {
                res = i + 1;
            }
        }
        System.out.println(res);
        sc.close();
    } 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[] ave = new double[N]; ave new double[N] N for (int i = 0; i < N; i++) {
            int H = sc.nextInt();
            ave[i] = Math.abs(T - H * 0.006 - A);
        } int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
            int H = sc.nextInt();
            ave[i] = Math.abs(T - H * 0.006 - A);
        } {
            int H = sc.nextInt();
            ave[i] = Math.abs(T - H * 0.006 - A);
        } int H = sc.nextInt(); H sc.nextInt() sc.nextInt sc ave[i] = Math.abs(T - H * 0.006 - A) ave[i] ave i Math.abs(T - H * 0.006 - A) Math.abs Math T - H * 0.006 - A T - H * 0.006 - A T H * 0.006 H 0.006 A double min = Math.pow(10, 9); min Math.pow(10, 9) Math.pow Math 10 9 int res = 0; res 0 for (int i = 0; i < N; i++) {
            min = Math.min(min, ave[i]);
            if (ave[i] == min) {
                res = i + 1;
            }
        } int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
            min = Math.min(min, ave[i]);
            if (ave[i] == min) {
                res = i + 1;
            }
        } {
            min = Math.min(min, ave[i]);
            if (ave[i] == min) {
                res = i + 1;
            }
        } min = Math.min(min, ave[i]) min Math.min(min, ave[i]) Math.min Math min ave[i] ave i if (ave[i] == min) {
                res = i + 1;
            } ave[i] == min ave[i] ave i min {
                res = i + 1;
            } res = i + 1 res i + 1 i 1 System.out.println(res) System.out.println System.out System System.out res sc.close() sc.close sc 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[] ave = new double[N];
        for (int i = 0; i < N; i++) {
            int H = sc.nextInt();
            ave[i] = Math.abs(T - H * 0.006 - A);
        }
        double min = Math.pow(10, 9);
        int res = 0;
        for (int i = 0; i < N; i++) {
            min = Math.min(min, ave[i]);
            if (ave[i] == min) {
                res = i + 1;
            }
        }
        System.out.println(res);
        sc.close();
    }
} 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[] ave = new double[N];
        for (int i = 0; i < N; i++) {
            int H = sc.nextInt();
            ave[i] = Math.abs(T - H * 0.006 - A);
        }
        double min = Math.pow(10, 9);
        int res = 0;
        for (int i = 0; i < N; i++) {
            min = Math.min(min, ave[i]);
            if (ave[i] == min) {
                res = i + 1;
            }
        }
        System.out.println(res);
        sc.close();
    }
} 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[] ave = new double[N];
        for (int i = 0; i < N; i++) {
            int H = sc.nextInt();
            ave[i] = Math.abs(T - H * 0.006 - A);
        }
        double min = Math.pow(10, 9);
        int res = 0;
        for (int i = 0; i < N; i++) {
            min = Math.min(min, ave[i]);
            if (ave[i] == min) {
                res = i + 1;
            }
        }
        System.out.println(res);
        sc.close();
    }
}