import 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];
        double min = 10000000.0;
        int idx = 0;
        double t = 0.0;
        double dif = 0.0;
        for(int i=0; i<N; i++) {
            h[i] = Integer.parseInt(sc.next());
            t = (double)T - h[i]*0.006;
            if(t >= A) dif = t - A;
            else dif = A - t;
            if(min > dif) {
                min = dif;
                idx = i;
            }
        }
        System.out.println(idx+1);
    }
    
} import java.util.*; util.* java 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];
        double min = 10000000.0;
        int idx = 0;
        double t = 0.0;
        double dif = 0.0;
        for(int i=0; i<N; i++) {
            h[i] = Integer.parseInt(sc.next());
            t = (double)T - h[i]*0.006;
            if(t >= A) dif = t - A;
            else dif = A - t;
            if(min > dif) {
                min = dif;
                idx = i;
            }
        }
        System.out.println(idx+1);
    }
    
} 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];
        double min = 10000000.0;
        int idx = 0;
        double t = 0.0;
        double dif = 0.0;
        for(int i=0; i<N; i++) {
            h[i] = Integer.parseInt(sc.next());
            t = (double)T - h[i]*0.006;
            if(t >= A) dif = t - A;
            else dif = A - t;
            if(min > dif) {
                min = dif;
                idx = i;
            }
        }
        System.out.println(idx+1);
    } 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];
        double min = 10000000.0;
        int idx = 0;
        double t = 0.0;
        double dif = 0.0;
        for(int i=0; i<N; i++) {
            h[i] = Integer.parseInt(sc.next());
            t = (double)T - h[i]*0.006;
            if(t >= A) dif = t - A;
            else dif = A - t;
            if(min > dif) {
                min = dif;
                idx = i;
            }
        }
        System.out.println(idx+1);
    } 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 double min = 10000000.0; min 10000000.0 int idx = 0; idx 0 double t = 0.0; t 0.0 double dif = 0.0; dif 0.0 for(int i=0; i<N; i++) {
            h[i] = Integer.parseInt(sc.next());
            t = (double)T - h[i]*0.006;
            if(t >= A) dif = t - A;
            else dif = A - t;
            if(min > dif) {
                min = dif;
                idx = i;
            }
        } int i=0; int i=0; i 0 i<N i N i++ i++ i {
            h[i] = Integer.parseInt(sc.next());
            t = (double)T - h[i]*0.006;
            if(t >= A) dif = t - A;
            else dif = A - t;
            if(min > dif) {
                min = dif;
                idx = i;
            }
        } {
            h[i] = Integer.parseInt(sc.next());
            t = (double)T - h[i]*0.006;
            if(t >= A) dif = t - A;
            else dif = A - t;
            if(min > dif) {
                min = dif;
                idx = i;
            }
        } h[i] = Integer.parseInt(sc.next()) h[i] h i Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc t = (double)T - h[i]*0.006 t (double)T - h[i]*0.006 (double)T h[i]*0.006 h[i] h i 0.006 if(t >= A) dif = t - A;
            else dif = A - t; t >= A t A dif = t - A dif t - A t A dif = A - t dif A - t A t if(min > dif) {
                min = dif;
                idx = i;
            } min > dif min dif {
                min = dif;
                idx = i;
            } min = dif min dif idx = i idx i System.out.println(idx+1) System.out.println System.out System System.out idx+1 idx 1 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];
        double min = 10000000.0;
        int idx = 0;
        double t = 0.0;
        double dif = 0.0;
        for(int i=0; i<N; i++) {
            h[i] = Integer.parseInt(sc.next());
            t = (double)T - h[i]*0.006;
            if(t >= A) dif = t - A;
            else dif = A - t;
            if(min > dif) {
                min = dif;
                idx = i;
            }
        }
        System.out.println(idx+1);
    }
    
} 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];
        double min = 10000000.0;
        int idx = 0;
        double t = 0.0;
        double dif = 0.0;
        for(int i=0; i<N; i++) {
            h[i] = Integer.parseInt(sc.next());
            t = (double)T - h[i]*0.006;
            if(t >= A) dif = t - A;
            else dif = A - t;
            if(min > dif) {
                min = dif;
                idx = i;
            }
        }
        System.out.println(idx+1);
    }
    
} Main
import 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];
        double min = 10000000.0;
        int idx = 0;
        double t = 0.0;
        double dif = 0.0;
        for(int i=0; i<N; i++) {
            h[i] = Integer.parseInt(sc.next());
            t = (double)T - h[i]*0.006;
            if(t >= A) dif = t - A;
            else dif = A - t;
            if(min > dif) {
                min = dif;
                idx = i;
            }
        }
        System.out.println(idx+1);
    }
    
}