import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc=new Scanner(System.in);
        int N=sc.nextInt(),T=sc.nextInt(),A=sc.nextInt(),ans=0;
        double min = Double.MAX_VALUE;
        for(int i=0;i<N;i++){
            int a =sc.nextInt();
            double b =Math.abs(A-(T-a*0.006));
            if(b<min){
                ans=i;min=b;
            }
        }
        System.out.println(ans+1);
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc=new Scanner(System.in);
        int N=sc.nextInt(),T=sc.nextInt(),A=sc.nextInt(),ans=0;
        double min = Double.MAX_VALUE;
        for(int i=0;i<N;i++){
            int a =sc.nextInt();
            double b =Math.abs(A-(T-a*0.006));
            if(b<min){
                ans=i;min=b;
            }
        }
        System.out.println(ans+1);
    }
} Main public static void main(String[] args) throws Exception {
        Scanner sc=new Scanner(System.in);
        int N=sc.nextInt(),T=sc.nextInt(),A=sc.nextInt(),ans=0;
        double min = Double.MAX_VALUE;
        for(int i=0;i<N;i++){
            int a =sc.nextInt();
            double b =Math.abs(A-(T-a*0.006));
            if(b<min){
                ans=i;min=b;
            }
        }
        System.out.println(ans+1);
    } main {
        Scanner sc=new Scanner(System.in);
        int N=sc.nextInt(),T=sc.nextInt(),A=sc.nextInt(),ans=0;
        double min = Double.MAX_VALUE;
        for(int i=0;i<N;i++){
            int a =sc.nextInt();
            double b =Math.abs(A-(T-a*0.006));
            if(b<min){
                ans=i;min=b;
            }
        }
        System.out.println(ans+1);
    } Scanner sc=new Scanner(System.in); sc new Scanner(System.in) int N=sc.nextInt() N sc.nextInt() sc.nextInt sc T=sc.nextInt() T sc.nextInt() sc.nextInt sc A=sc.nextInt() A sc.nextInt() sc.nextInt sc ans=0; ans 0 double min = Double.MAX_VALUE; min Double.MAX_VALUE Double Double.MAX_VALUE for(int i=0;i<N;i++){
            int a =sc.nextInt();
            double b =Math.abs(A-(T-a*0.006));
            if(b<min){
                ans=i;min=b;
            }
        } int i=0; int i=0; i 0 i<N i N i++ i++ i {
            int a =sc.nextInt();
            double b =Math.abs(A-(T-a*0.006));
            if(b<min){
                ans=i;min=b;
            }
        } {
            int a =sc.nextInt();
            double b =Math.abs(A-(T-a*0.006));
            if(b<min){
                ans=i;min=b;
            }
        } int a =sc.nextInt(); a sc.nextInt() sc.nextInt sc double b =Math.abs(A-(T-a*0.006)); b Math.abs(A-(T-a*0.006)) Math.abs Math A-(T-a*0.006) A (T-a*0.006) T a*0.006 a 0.006 if(b<min){
                ans=i;min=b;
            } b<min b min {
                ans=i;min=b;
            } ans=i ans i min=b min b System.out.println(ans+1) System.out.println System.out System System.out ans+1 ans 1 String[] args args public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc=new Scanner(System.in);
        int N=sc.nextInt(),T=sc.nextInt(),A=sc.nextInt(),ans=0;
        double min = Double.MAX_VALUE;
        for(int i=0;i<N;i++){
            int a =sc.nextInt();
            double b =Math.abs(A-(T-a*0.006));
            if(b<min){
                ans=i;min=b;
            }
        }
        System.out.println(ans+1);
    }
} public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc=new Scanner(System.in);
        int N=sc.nextInt(),T=sc.nextInt(),A=sc.nextInt(),ans=0;
        double min = Double.MAX_VALUE;
        for(int i=0;i<N;i++){
            int a =sc.nextInt();
            double b =Math.abs(A-(T-a*0.006));
            if(b<min){
                ans=i;min=b;
            }
        }
        System.out.println(ans+1);
    }
} Main
import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc=new Scanner(System.in);
        int N=sc.nextInt(),T=sc.nextInt(),A=sc.nextInt(),ans=0;
        double min = Double.MAX_VALUE;
        for(int i=0;i<N;i++){
            int a =sc.nextInt();
            double b =Math.abs(A-(T-a*0.006));
            if(b<min){
                ans=i;min=b;
            }
        }
        System.out.println(ans+1);
    }
}