import java.util.Scanner;
class Main{
    public static void main(String[] args) {
        Scanner scn=new Scanner(System.in);
        int n=scn.nextInt();
        int t=scn.nextInt();
        int a=scn.nextInt();
        int[] place=new int[n];
        for(int i=0;i<n;i++){
            place[i]=scn.nextInt();
        }
        double dif=Math.abs(t-0.006*place[0]-a);
        int answer =0;
        for(int i=1;i<n;i++){
            if(Math.abs(t-0.006*place[i]-a)<dif){
                dif =Math.abs(t-0.006*place[i]-a);
                answer = i;
            }
        }
        System.out.println(answer+1);
    }
} import java.util.Scanner; Scanner java.util class Main{
    public static void main(String[] args) {
        Scanner scn=new Scanner(System.in);
        int n=scn.nextInt();
        int t=scn.nextInt();
        int a=scn.nextInt();
        int[] place=new int[n];
        for(int i=0;i<n;i++){
            place[i]=scn.nextInt();
        }
        double dif=Math.abs(t-0.006*place[0]-a);
        int answer =0;
        for(int i=1;i<n;i++){
            if(Math.abs(t-0.006*place[i]-a)<dif){
                dif =Math.abs(t-0.006*place[i]-a);
                answer = i;
            }
        }
        System.out.println(answer+1);
    }
} Main public static void main(String[] args) {
        Scanner scn=new Scanner(System.in);
        int n=scn.nextInt();
        int t=scn.nextInt();
        int a=scn.nextInt();
        int[] place=new int[n];
        for(int i=0;i<n;i++){
            place[i]=scn.nextInt();
        }
        double dif=Math.abs(t-0.006*place[0]-a);
        int answer =0;
        for(int i=1;i<n;i++){
            if(Math.abs(t-0.006*place[i]-a)<dif){
                dif =Math.abs(t-0.006*place[i]-a);
                answer = i;
            }
        }
        System.out.println(answer+1);
    } main {
        Scanner scn=new Scanner(System.in);
        int n=scn.nextInt();
        int t=scn.nextInt();
        int a=scn.nextInt();
        int[] place=new int[n];
        for(int i=0;i<n;i++){
            place[i]=scn.nextInt();
        }
        double dif=Math.abs(t-0.006*place[0]-a);
        int answer =0;
        for(int i=1;i<n;i++){
            if(Math.abs(t-0.006*place[i]-a)<dif){
                dif =Math.abs(t-0.006*place[i]-a);
                answer = i;
            }
        }
        System.out.println(answer+1);
    } Scanner scn=new Scanner(System.in); scn new Scanner(System.in) int n=scn.nextInt(); n scn.nextInt() scn.nextInt scn int t=scn.nextInt(); t scn.nextInt() scn.nextInt scn int a=scn.nextInt(); a scn.nextInt() scn.nextInt scn int[] place=new int[n]; place new int[n] n for(int i=0;i<n;i++){
            place[i]=scn.nextInt();
        } int i=0; int i=0; i 0 i<n i n i++ i++ i {
            place[i]=scn.nextInt();
        } {
            place[i]=scn.nextInt();
        } place[i]=scn.nextInt() place[i] place i scn.nextInt() scn.nextInt scn double dif=Math.abs(t-0.006*place[0]-a); dif Math.abs(t-0.006*place[0]-a) Math.abs Math t-0.006*place[0]-a t-0.006*place[0]-a t 0.006*place[0] 0.006 place[0] place 0 a int answer =0; answer 0 for(int i=1;i<n;i++){
            if(Math.abs(t-0.006*place[i]-a)<dif){
                dif =Math.abs(t-0.006*place[i]-a);
                answer = i;
            }
        } int i=1; int i=1; i 1 i<n i n i++ i++ i {
            if(Math.abs(t-0.006*place[i]-a)<dif){
                dif =Math.abs(t-0.006*place[i]-a);
                answer = i;
            }
        } {
            if(Math.abs(t-0.006*place[i]-a)<dif){
                dif =Math.abs(t-0.006*place[i]-a);
                answer = i;
            }
        } if(Math.abs(t-0.006*place[i]-a)<dif){
                dif =Math.abs(t-0.006*place[i]-a);
                answer = i;
            } Math.abs(t-0.006*place[i]-a)<dif Math.abs(t-0.006*place[i]-a) Math.abs Math t-0.006*place[i]-a t-0.006*place[i]-a t 0.006*place[i] 0.006 place[i] place i a dif {
                dif =Math.abs(t-0.006*place[i]-a);
                answer = i;
            } dif =Math.abs(t-0.006*place[i]-a) dif Math.abs(t-0.006*place[i]-a) Math.abs Math t-0.006*place[i]-a t-0.006*place[i]-a t 0.006*place[i] 0.006 place[i] place i a answer = i answer i System.out.println(answer+1) System.out.println System.out System System.out answer+1 answer 1 String[] args args
import java.util.Scanner;
class Main{
    public static void main(String[] args) {
        Scanner scn=new Scanner(System.in);
        int n=scn.nextInt();
        int t=scn.nextInt();
        int a=scn.nextInt();
        int[] place=new int[n];
        for(int i=0;i<n;i++){
            place[i]=scn.nextInt();
        }
        double dif=Math.abs(t-0.006*place[0]-a);
        int answer =0;
        for(int i=1;i<n;i++){
            if(Math.abs(t-0.006*place[i]-a)<dif){
                dif =Math.abs(t-0.006*place[i]-a);
                answer = i;
            }
        }
        System.out.println(answer+1);
    }
}