import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        
        Scanner sc = new Scanner(System.in);
        
        int n = Integer.parseInt(sc.next());
        int t = Integer.parseInt(sc.next());
        int a = Integer.parseInt(sc.next());
        int[] h = new int[n];
        for(int i = 0; i < n; i++){
            h[i] = Integer.parseInt(sc.next());
        }
        
        double min = 10000;
        int ans = 0;
        for(int i = 0; i < n; i++){
            double j = t - h[i]*0.006;
            if(Math.abs(a-j) < min){
                min = Math.abs(a-j);
                ans = i+1;
            }
        }
        
        System.out.println(ans);
    }
} import java.util.Scanner; Scanner java.util public class Main {

    public static void main(String[] args) {
        
        Scanner sc = new Scanner(System.in);
        
        int n = Integer.parseInt(sc.next());
        int t = Integer.parseInt(sc.next());
        int a = Integer.parseInt(sc.next());
        int[] h = new int[n];
        for(int i = 0; i < n; i++){
            h[i] = Integer.parseInt(sc.next());
        }
        
        double min = 10000;
        int ans = 0;
        for(int i = 0; i < n; i++){
            double j = t - h[i]*0.006;
            if(Math.abs(a-j) < min){
                min = Math.abs(a-j);
                ans = i+1;
            }
        }
        
        System.out.println(ans);
    }
} Main public static void main(String[] args) {
        
        Scanner sc = new Scanner(System.in);
        
        int n = Integer.parseInt(sc.next());
        int t = Integer.parseInt(sc.next());
        int a = Integer.parseInt(sc.next());
        int[] h = new int[n];
        for(int i = 0; i < n; i++){
            h[i] = Integer.parseInt(sc.next());
        }
        
        double min = 10000;
        int ans = 0;
        for(int i = 0; i < n; i++){
            double j = t - h[i]*0.006;
            if(Math.abs(a-j) < min){
                min = Math.abs(a-j);
                ans = i+1;
            }
        }
        
        System.out.println(ans);
    } main {
        
        Scanner sc = new Scanner(System.in);
        
        int n = Integer.parseInt(sc.next());
        int t = Integer.parseInt(sc.next());
        int a = Integer.parseInt(sc.next());
        int[] h = new int[n];
        for(int i = 0; i < n; i++){
            h[i] = Integer.parseInt(sc.next());
        }
        
        double min = 10000;
        int ans = 0;
        for(int i = 0; i < n; i++){
            double j = t - h[i]*0.006;
            if(Math.abs(a-j) < min){
                min = Math.abs(a-j);
                ans = i+1;
            }
        }
        
        System.out.println(ans);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = Integer.parseInt(sc.next()); n Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int t = Integer.parseInt(sc.next()); t Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int a = Integer.parseInt(sc.next()); a Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int[] h = new int[n]; h new int[n] n for(int i = 0; i < n; i++){
            h[i] = Integer.parseInt(sc.next());
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
            h[i] = Integer.parseInt(sc.next());
        } {
            h[i] = Integer.parseInt(sc.next());
        } h[i] = Integer.parseInt(sc.next()) h[i] h i Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc double min = 10000; min 10000 int ans = 0; ans 0 for(int i = 0; i < n; i++){
            double j = t - h[i]*0.006;
            if(Math.abs(a-j) < min){
                min = Math.abs(a-j);
                ans = i+1;
            }
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
            double j = t - h[i]*0.006;
            if(Math.abs(a-j) < min){
                min = Math.abs(a-j);
                ans = i+1;
            }
        } {
            double j = t - h[i]*0.006;
            if(Math.abs(a-j) < min){
                min = Math.abs(a-j);
                ans = i+1;
            }
        } double j = t - h[i]*0.006; j t - h[i]*0.006 t h[i]*0.006 h[i] h i 0.006 if(Math.abs(a-j) < min){
                min = Math.abs(a-j);
                ans = i+1;
            } Math.abs(a-j) < min Math.abs(a-j) Math.abs Math a-j a j min {
                min = Math.abs(a-j);
                ans = i+1;
            } min = Math.abs(a-j) min Math.abs(a-j) Math.abs Math a-j a j ans = i+1 ans i+1 i 1 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) {
        
        Scanner sc = new Scanner(System.in);
        
        int n = Integer.parseInt(sc.next());
        int t = Integer.parseInt(sc.next());
        int a = Integer.parseInt(sc.next());
        int[] h = new int[n];
        for(int i = 0; i < n; i++){
            h[i] = Integer.parseInt(sc.next());
        }
        
        double min = 10000;
        int ans = 0;
        for(int i = 0; i < n; i++){
            double j = t - h[i]*0.006;
            if(Math.abs(a-j) < min){
                min = Math.abs(a-j);
                ans = i+1;
            }
        }
        
        System.out.println(ans);
    }
} public class Main {

    public static void main(String[] args) {
        
        Scanner sc = new Scanner(System.in);
        
        int n = Integer.parseInt(sc.next());
        int t = Integer.parseInt(sc.next());
        int a = Integer.parseInt(sc.next());
        int[] h = new int[n];
        for(int i = 0; i < n; i++){
            h[i] = Integer.parseInt(sc.next());
        }
        
        double min = 10000;
        int ans = 0;
        for(int i = 0; i < n; i++){
            double j = t - h[i]*0.006;
            if(Math.abs(a-j) < min){
                min = Math.abs(a-j);
                ans = i+1;
            }
        }
        
        System.out.println(ans);
    }
} Main
import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        
        Scanner sc = new Scanner(System.in);
        
        int n = Integer.parseInt(sc.next());
        int t = Integer.parseInt(sc.next());
        int a = Integer.parseInt(sc.next());
        int[] h = new int[n];
        for(int i = 0; i < n; i++){
            h[i] = Integer.parseInt(sc.next());
        }
        
        double min = 10000;
        int ans = 0;
        for(int i = 0; i < n; i++){
            double j = t - h[i]*0.006;
            if(Math.abs(a-j) < min){
                min = Math.abs(a-j);
                ans = i+1;
            }
        }
        
        System.out.println(ans);
    }
}