import java.util.*;
 
public class Main {
    public static void main(String[] args) throws Exception {
        
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        double t = sc.nextDouble();
        int a = sc.nextInt();
        int[] h = new int[n];
        for(int i = 0; i < n; i++){
            h[i] = sc.nextInt();
        }
        double ans = 10000;
        int ans_no = 0;
        for(int i = 0; i < n; i++){
            double temp = t - h[i] * 0.006;
            if(ans > Math.abs(a - temp)){
                ans_no = i + 1;
                ans = Math.abs(a - temp);
            }
        }
        System.out.println(ans_no);
    }
} 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();
        double t = sc.nextDouble();
        int a = sc.nextInt();
        int[] h = new int[n];
        for(int i = 0; i < n; i++){
            h[i] = sc.nextInt();
        }
        double ans = 10000;
        int ans_no = 0;
        for(int i = 0; i < n; i++){
            double temp = t - h[i] * 0.006;
            if(ans > Math.abs(a - temp)){
                ans_no = i + 1;
                ans = Math.abs(a - temp);
            }
        }
        System.out.println(ans_no);
    }
} Main public static void main(String[] args) throws Exception {
        
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        double t = sc.nextDouble();
        int a = sc.nextInt();
        int[] h = new int[n];
        for(int i = 0; i < n; i++){
            h[i] = sc.nextInt();
        }
        double ans = 10000;
        int ans_no = 0;
        for(int i = 0; i < n; i++){
            double temp = t - h[i] * 0.006;
            if(ans > Math.abs(a - temp)){
                ans_no = i + 1;
                ans = Math.abs(a - temp);
            }
        }
        System.out.println(ans_no);
    } main {
        
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        double t = sc.nextDouble();
        int a = sc.nextInt();
        int[] h = new int[n];
        for(int i = 0; i < n; i++){
            h[i] = sc.nextInt();
        }
        double ans = 10000;
        int ans_no = 0;
        for(int i = 0; i < n; i++){
            double temp = t - h[i] * 0.006;
            if(ans > Math.abs(a - temp)){
                ans_no = i + 1;
                ans = Math.abs(a - temp);
            }
        }
        System.out.println(ans_no);
    } 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 int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc int[] h = new int[n]; h new int[n] n for(int i = 0; i < n; i++){
            h[i] = sc.nextInt();
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
            h[i] = sc.nextInt();
        } {
            h[i] = sc.nextInt();
        } h[i] = sc.nextInt() h[i] h i sc.nextInt() sc.nextInt sc double ans = 10000; ans 10000 int ans_no = 0; ans_no 0 for(int i = 0; i < n; i++){
            double temp = t - h[i] * 0.006;
            if(ans > Math.abs(a - temp)){
                ans_no = i + 1;
                ans = Math.abs(a - temp);
            }
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
            double temp = t - h[i] * 0.006;
            if(ans > Math.abs(a - temp)){
                ans_no = i + 1;
                ans = Math.abs(a - temp);
            }
        } {
            double temp = t - h[i] * 0.006;
            if(ans > Math.abs(a - temp)){
                ans_no = i + 1;
                ans = Math.abs(a - temp);
            }
        } double temp = t - h[i] * 0.006; temp t - h[i] * 0.006 t h[i] * 0.006 h[i] h i 0.006 if(ans > Math.abs(a - temp)){
                ans_no = i + 1;
                ans = Math.abs(a - temp);
            } ans > Math.abs(a - temp) ans Math.abs(a - temp) Math.abs Math a - temp a temp {
                ans_no = i + 1;
                ans = Math.abs(a - temp);
            } ans_no = i + 1 ans_no i + 1 i 1 ans = Math.abs(a - temp) ans Math.abs(a - temp) Math.abs Math a - temp a temp System.out.println(ans_no) System.out.println System.out System System.out ans_no String[] args args public class Main {
    public static void main(String[] args) throws Exception {
        
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        double t = sc.nextDouble();
        int a = sc.nextInt();
        int[] h = new int[n];
        for(int i = 0; i < n; i++){
            h[i] = sc.nextInt();
        }
        double ans = 10000;
        int ans_no = 0;
        for(int i = 0; i < n; i++){
            double temp = t - h[i] * 0.006;
            if(ans > Math.abs(a - temp)){
                ans_no = i + 1;
                ans = Math.abs(a - temp);
            }
        }
        System.out.println(ans_no);
    }
} public class Main {
    public static void main(String[] args) throws Exception {
        
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        double t = sc.nextDouble();
        int a = sc.nextInt();
        int[] h = new int[n];
        for(int i = 0; i < n; i++){
            h[i] = sc.nextInt();
        }
        double ans = 10000;
        int ans_no = 0;
        for(int i = 0; i < n; i++){
            double temp = t - h[i] * 0.006;
            if(ans > Math.abs(a - temp)){
                ans_no = i + 1;
                ans = Math.abs(a - temp);
            }
        }
        System.out.println(ans_no);
    }
} 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();
        double t = sc.nextDouble();
        int a = sc.nextInt();
        int[] h = new int[n];
        for(int i = 0; i < n; i++){
            h[i] = sc.nextInt();
        }
        double ans = 10000;
        int ans_no = 0;
        for(int i = 0; i < n; i++){
            double temp = t - h[i] * 0.006;
            if(ans > Math.abs(a - temp)){
                ans_no = i + 1;
                ans = Math.abs(a - temp);
            }
        }
        System.out.println(ans_no);
    }
}