import java.util.*;

class Main{
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        double T = sc.nextDouble();
        double A = sc.nextDouble();
        int[] H = new int[N];
        double[] dif = new double[N];
        for(int i = 0; i < N; i++){
            H[i] = sc.nextInt();
            dif[i] = Math.abs(A  - (T - 0.006 * H[i]));
        }

        double min = 100000;
        int minIndex = 0;
        for(int i = 0; i < N; i++){
            if(min > dif[i]){
                min = dif[i];
                minIndex = i;
            } 
        }
        System.out.println(minIndex+1);
    }
} import java.util.*; util.* java class Main{
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        double T = sc.nextDouble();
        double A = sc.nextDouble();
        int[] H = new int[N];
        double[] dif = new double[N];
        for(int i = 0; i < N; i++){
            H[i] = sc.nextInt();
            dif[i] = Math.abs(A  - (T - 0.006 * H[i]));
        }

        double min = 100000;
        int minIndex = 0;
        for(int i = 0; i < N; i++){
            if(min > dif[i]){
                min = dif[i];
                minIndex = i;
            } 
        }
        System.out.println(minIndex+1);
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        double T = sc.nextDouble();
        double A = sc.nextDouble();
        int[] H = new int[N];
        double[] dif = new double[N];
        for(int i = 0; i < N; i++){
            H[i] = sc.nextInt();
            dif[i] = Math.abs(A  - (T - 0.006 * H[i]));
        }

        double min = 100000;
        int minIndex = 0;
        for(int i = 0; i < N; i++){
            if(min > dif[i]){
                min = dif[i];
                minIndex = i;
            } 
        }
        System.out.println(minIndex+1);
    } main {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        double T = sc.nextDouble();
        double A = sc.nextDouble();
        int[] H = new int[N];
        double[] dif = new double[N];
        for(int i = 0; i < N; i++){
            H[i] = sc.nextInt();
            dif[i] = Math.abs(A  - (T - 0.006 * H[i]));
        }

        double min = 100000;
        int minIndex = 0;
        for(int i = 0; i < N; i++){
            if(min > dif[i]){
                min = dif[i];
                minIndex = i;
            } 
        }
        System.out.println(minIndex+1);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int N = sc.nextInt(); N sc.nextInt() sc.nextInt sc double T = sc.nextDouble(); T sc.nextDouble() sc.nextDouble sc double A = sc.nextDouble(); A sc.nextDouble() sc.nextDouble sc int[] H = new int[N]; H new int[N] N double[] dif = new double[N]; dif new double[N] N for(int i = 0; i < N; i++){
            H[i] = sc.nextInt();
            dif[i] = Math.abs(A  - (T - 0.006 * H[i]));
        } int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
            H[i] = sc.nextInt();
            dif[i] = Math.abs(A  - (T - 0.006 * H[i]));
        } {
            H[i] = sc.nextInt();
            dif[i] = Math.abs(A  - (T - 0.006 * H[i]));
        } H[i] = sc.nextInt() H[i] H i sc.nextInt() sc.nextInt sc dif[i] = Math.abs(A  - (T - 0.006 * H[i])) dif[i] dif i Math.abs(A  - (T - 0.006 * H[i])) Math.abs Math A  - (T - 0.006 * H[i]) A (T - 0.006 * H[i]) T 0.006 * H[i] 0.006 H[i] H i double min = 100000; min 100000 int minIndex = 0; minIndex 0 for(int i = 0; i < N; i++){
            if(min > dif[i]){
                min = dif[i];
                minIndex = i;
            } 
        } int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
            if(min > dif[i]){
                min = dif[i];
                minIndex = i;
            } 
        } {
            if(min > dif[i]){
                min = dif[i];
                minIndex = i;
            } 
        } if(min > dif[i]){
                min = dif[i];
                minIndex = i;
            } min > dif[i] min dif[i] dif i {
                min = dif[i];
                minIndex = i;
            } min = dif[i] min dif[i] dif i minIndex = i minIndex i System.out.println(minIndex+1) System.out.println System.out System System.out minIndex+1 minIndex 1 String[] args args
import java.util.*;

class Main{
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        double T = sc.nextDouble();
        double A = sc.nextDouble();
        int[] H = new int[N];
        double[] dif = new double[N];
        for(int i = 0; i < N; i++){
            H[i] = sc.nextInt();
            dif[i] = Math.abs(A  - (T - 0.006 * H[i]));
        }

        double min = 100000;
        int minIndex = 0;
        for(int i = 0; i < N; i++){
            if(min > dif[i]){
                min = dif[i];
                minIndex = i;
            } 
        }
        System.out.println(minIndex+1);
    }
}