import java.io.*;
import java.util.*;

class Program{
    String S[]; int N,T,A;
    void solve(String S[], int N, int T, int A){
        this.S = S; this.N = N; this.T = T; this.A = A;
        calc();
    }
    void calc(){
        double avg, diff = Double.MAX_VALUE; int temp = -1;
        for(int i=0;i<S.length;i++){
            avg = T - Integer.parseInt(S[i])*0.006;
            //System.out.println(avg);
            if(Math.abs(A-avg)<=diff){
                diff = Math.abs(A-avg);
                //System.out.println("SD"+diff);
                temp = i+1;
            }
        }
        System.out.println(temp);
    }
}
class Main{
    public static void main(String[] args) {
        Program obj = new Program();
        Scanner in = new Scanner(System.in);
        int N = in.nextInt();
        int T = in.nextInt(); int A = in.nextInt();
        in.nextLine();
        String S[]= in.nextLine().split(" ");
        //System.out.println(N+" "+T+" "+A+" "+Arrays.toString(S));
        obj.solve(S,N,T,A);
    }
}

/tmp/hf-datasets-cache/medium/datasets/42704881117311-config-parquet-and-info-qiankunmu-Project_CodeNet-896c9d36/hub/datasets--qiankunmu--Project_CodeNet_Python800_and_Java250/snapshots/c899fde44a77ba1cc14973ed3de064e4ff3aadc7/Project_CodeNet_Java250.tar.gz