import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {

        Scanner sc = new Scanner(System.in);
        
        int N = sc.nextInt();
        int T = sc.nextInt();
        int A = sc.nextInt();
        
        double nearest = Double.MAX_VALUE;
        int ans = 0;
        for(int i = 1; i <= N; i++){
            int H = sc.nextInt();
            double avg = T - H * 0.006;
            
            if( nearest > Math.abs(A - avg) ){
                nearest = Math.abs(A - avg);
                ans = i;
            }
        }
        
        System.out.println(ans);
        
    }
} 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();
        int T = sc.nextInt();
        int A = sc.nextInt();
        
        double nearest = Double.MAX_VALUE;
        int ans = 0;
        for(int i = 1; i <= N; i++){
            int H = sc.nextInt();
            double avg = T - H * 0.006;
            
            if( nearest > Math.abs(A - avg) ){
                nearest = Math.abs(A - avg);
                ans = i;
            }
        }
        
        System.out.println(ans);
        
    }
} Main public static void main(String[] args) throws Exception {

        Scanner sc = new Scanner(System.in);
        
        int N = sc.nextInt();
        int T = sc.nextInt();
        int A = sc.nextInt();
        
        double nearest = Double.MAX_VALUE;
        int ans = 0;
        for(int i = 1; i <= N; i++){
            int H = sc.nextInt();
            double avg = T - H * 0.006;
            
            if( nearest > Math.abs(A - avg) ){
                nearest = Math.abs(A - avg);
                ans = i;
            }
        }
        
        System.out.println(ans);
        
    } main {

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

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

        Scanner sc = new Scanner(System.in);
        
        int N = sc.nextInt();
        int T = sc.nextInt();
        int A = sc.nextInt();
        
        double nearest = Double.MAX_VALUE;
        int ans = 0;
        for(int i = 1; i <= N; i++){
            int H = sc.nextInt();
            double avg = T - H * 0.006;
            
            if( nearest > Math.abs(A - avg) ){
                nearest = Math.abs(A - avg);
                ans = i;
            }
        }
        
        System.out.println(ans);
        
    }
} 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();
        int T = sc.nextInt();
        int A = sc.nextInt();
        
        double nearest = Double.MAX_VALUE;
        int ans = 0;
        for(int i = 1; i <= N; i++){
            int H = sc.nextInt();
            double avg = T - H * 0.006;
            
            if( nearest > Math.abs(A - avg) ){
                nearest = Math.abs(A - avg);
                ans = i;
            }
        }
        
        System.out.println(ans);
        
    }
}
