import java.io.*;
public class Main{
    public static void main(String[] args) throws IOException{
        Reader r = new Reader();        
        int N = r.i();
        int[] TA = r.ii();
        int T = TA[0],
            A = TA[1];
        int[] H = r.ii();
        double min = Integer.MAX_VALUE;
        int minI = 0;
        for(int i = 0; i < N; i++){
            double dH = Math.abs(T-H[i]*0.006-A);
            if(dH < min){
                min = dH;
                minI = i+1;
            }
        }
        print(minI);
    }
    static void print(Object o){
        System.out.println(o.toString());
    }
    static void print(boolean b, String s1, String s2){
        System.out.println(b ? s1 : s2);
    }
    static int max(int[] ii){
        int max = ii[0];
        for(int i : ii) if(max < i) max = i;
        return max;
    }
    static int min(int[] ii){
        int min = ii[0];
        for(int i : ii) if(i < min) min = i;
        return min;
    }
    static long max(long[] ll){
        long max = ll[0];
        for(long l : ll) if(max < l) max = l;     
        return max;
    }
    static long min(long[] ll){
        long min = ll[0];
        for(long l : ll) if(l < min) min = l;
        return min;
    }
    static double max(double[] dd){
        double max = dd[0];
        for(double d : dd) if(max < d) max = d;
        return max;
    }
    static double min(double[] dd){
        double min = dd[0];
        for(double d : dd) if(d < min) min = d;
        return min;
    }
    static class Reader extends BufferedReader{
        Reader(){
            super(new InputStreamReader(System.in));
        }
        String s() throws IOException{
            return readLine();
        }
        String[] ss() throws IOException{
            return readLine().split(" ");
        }
        int i() throws IOException{
            return Integer.parseInt(readLine());
        }
        int[] ii() throws IOException{
            String[] ss = ss();
            int size = ss.length;
            int[] ii = new int[size];
            for(int j = 0; j < size; j++) ii[j] = Integer.parseInt(ss[j]);
            return ii;
        }
        int[] ii(int N) throws IOException{
            int[] ii = new int[N];
            for(int j = 0; j < N; j++) ii[j] = i();
            return ii;
        }
        long l() throws IOException{
            return Long.parseLong(readLine());
        }
        long[] ll() throws IOException{
            String[] ss = ss();
            int size = ss.length;
            long[] ll = new long[size];
            for(int j = 0; j < size; j++) ll[j] = Long.parseLong(ss[j]);            
            return ll;
        }
        long[] ll(int N) throws IOException{
            long[] ll = new long[N];
            for(int j = 0; j < N; j++) ll[j] = i();            
            return ll;
        }
    }
} import java.io.*; io.* java public class Main{
    public static void main(String[] args) throws IOException{
        Reader r = new Reader();        
        int N = r.i();
        int[] TA = r.ii();
        int T = TA[0],
            A = TA[1];
        int[] H = r.ii();
        double min = Integer.MAX_VALUE;
        int minI = 0;
        for(int i = 0; i < N; i++){
            double dH = Math.abs(T-H[i]*0.006-A);
            if(dH < min){
                min = dH;
                minI = i+1;
            }
        }
        print(minI);
    }
    static void print(Object o){
        System.out.println(o.toString());
    }
    static void print(boolean b, String s1, String s2){
        System.out.println(b ? s1 : s2);
    }
    static int max(int[] ii){
        int max = ii[0];
        for(int i : ii) if(max < i) max = i;
        return max;
    }
    static int min(int[] ii){
        int min = ii[0];
        for(int i : ii) if(i < min) min = i;
        return min;
    }
    static long max(long[] ll){
        long max = ll[0];
        for(long l : ll) if(max < l) max = l;     
        return max;
    }
    static long min(long[] ll){
        long min = ll[0];
        for(long l : ll) if(l < min) min = l;
        return min;
    }
    static double max(double[] dd){
        double max = dd[0];
        for(double d : dd) if(max < d) max = d;
        return max;
    }
    static double min(double[] dd){
        double min = dd[0];
        for(double d : dd) if(d < min) min = d;
        return min;
    }
    static class Reader extends BufferedReader{
        Reader(){
            super(new InputStreamReader(System.in));
        }
        String s() throws IOException{
            return readLine();
        }
        String[] ss() throws IOException{
            return readLine().split(" ");
        }
        int i() throws IOException{
            return Integer.parseInt(readLine());
        }
        int[] ii() throws IOException{
            String[] ss = ss();
            int size = ss.length;
            int[] ii = new int[size];
            for(int j = 0; j < size; j++) ii[j] = Integer.parseInt(ss[j]);
            return ii;
        }
        int[] ii(int N) throws IOException{
            int[] ii = new int[N];
            for(int j = 0; j < N; j++) ii[j] = i();
            return ii;
        }
        long l() throws IOException{
            return Long.parseLong(readLine());
        }
        long[] ll() throws IOException{
            String[] ss = ss();
            int size = ss.length;
            long[] ll = new long[size];
            for(int j = 0; j < size; j++) ll[j] = Long.parseLong(ss[j]);            
            return ll;
        }
        long[] ll(int N) throws IOException{
            long[] ll = new long[N];
            for(int j = 0; j < N; j++) ll[j] = i();            
            return ll;
        }
    }
} Main public static void main(String[] args) throws IOException{
        Reader r = new Reader();        
        int N = r.i();
        int[] TA = r.ii();
        int T = TA[0],
            A = TA[1];
        int[] H = r.ii();
        double min = Integer.MAX_VALUE;
        int minI = 0;
        for(int i = 0; i < N; i++){
            double dH = Math.abs(T-H[i]*0.006-A);
            if(dH < min){
                min = dH;
                minI = i+1;
            }
        }
        print(minI);
    } main {
        Reader r = new Reader();        
        int N = r.i();
        int[] TA = r.ii();
        int T = TA[0],
            A = TA[1];
        int[] H = r.ii();
        double min = Integer.MAX_VALUE;
        int minI = 0;
        for(int i = 0; i < N; i++){
            double dH = Math.abs(T-H[i]*0.006-A);
            if(dH < min){
                min = dH;
                minI = i+1;
            }
        }
        print(minI);
    } Reader r = new Reader(); r new Reader() int N = r.i(); N r.i() r.i r int[] TA = r.ii(); TA r.ii() r.ii r int T = TA[0] T TA[0] TA 0 A = TA[1]; A TA[1] TA 1 int[] H = r.ii(); H r.ii() r.ii r double min = Integer.MAX_VALUE; min Integer.MAX_VALUE Integer Integer.MAX_VALUE int minI = 0; minI 0 for(int i = 0; i < N; i++){
            double dH = Math.abs(T-H[i]*0.006-A);
            if(dH < min){
                min = dH;
                minI = i+1;
            }
        } int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
            double dH = Math.abs(T-H[i]*0.006-A);
            if(dH < min){
                min = dH;
                minI = i+1;
            }
        } {
            double dH = Math.abs(T-H[i]*0.006-A);
            if(dH < min){
                min = dH;
                minI = i+1;
            }
        } double dH = Math.abs(T-H[i]*0.006-A); dH Math.abs(T-H[i]*0.006-A) Math.abs Math T-H[i]*0.006-A T-H[i]*0.006-A T H[i]*0.006 H[i] H i 0.006 A if(dH < min){
                min = dH;
                minI = i+1;
            } dH < min dH min {
                min = dH;
                minI = i+1;
            } min = dH min dH minI = i+1 minI i+1 i 1 print(minI) print minI String[] args args static void print(Object o){
        System.out.println(o.toString());
    } print {
        System.out.println(o.toString());
    } System.out.println(o.toString()) System.out.println System.out System System.out o.toString() o.toString o Object o o static void print(boolean b, String s1, String s2){
        System.out.println(b ? s1 : s2);
    } print {
        System.out.println(b ? s1 : s2);
    } System.out.println(b ? s1 : s2) System.out.println System.out System System.out b ? s1 : s2 b s1 s2 boolean b b String s1 s1 String s2 s2 static int max(int[] ii){
        int max = ii[0];
        for(int i : ii) if(max < i) max = i;
        return max;
    } max {
        int max = ii[0];
        for(int i : ii) if(max < i) max = i;
        return max;
    } int max = ii[0]; max ii[0] ii 0 for(int i : ii) if(max < i) max = i; int i ii if(max < i) max = i; if(max < i) max = i; max < i max i max = i max i return max; max int[] ii ii static int min(int[] ii){
        int min = ii[0];
        for(int i : ii) if(i < min) min = i;
        return min;
    } min {
        int min = ii[0];
        for(int i : ii) if(i < min) min = i;
        return min;
    } int min = ii[0]; min ii[0] ii 0 for(int i : ii) if(i < min) min = i; int i ii if(i < min) min = i; if(i < min) min = i; i < min i min min = i min i return min; min int[] ii ii static long max(long[] ll){
        long max = ll[0];
        for(long l : ll) if(max < l) max = l;     
        return max;
    } max {
        long max = ll[0];
        for(long l : ll) if(max < l) max = l;     
        return max;
    } long max = ll[0]; max ll[0] ll 0 for(long l : ll) if(max < l) max = l; long l ll if(max < l) max = l; if(max < l) max = l; max < l max l max = l max l return max; max long[] ll ll static long min(long[] ll){
        long min = ll[0];
        for(long l : ll) if(l < min) min = l;
        return min;
    } min {
        long min = ll[0];
        for(long l : ll) if(l < min) min = l;
        return min;
    } long min = ll[0]; min ll[0] ll 0 for(long l : ll) if(l < min) min = l; long l ll if(l < min) min = l; if(l < min) min = l; l < min l min min = l min l return min; min long[] ll ll static double max(double[] dd){
        double max = dd[0];
        for(double d : dd) if(max < d) max = d;
        return max;
    } max {
        double max = dd[0];
        for(double d : dd) if(max < d) max = d;
        return max;
    } double max = dd[0]; max dd[0] dd 0 for(double d : dd) if(max < d) max = d; double d dd if(max < d) max = d; if(max < d) max = d; max < d max d max = d max d return max; max double[] dd dd static double min(double[] dd){
        double min = dd[0];
        for(double d : dd) if(d < min) min = d;
        return min;
    } min {
        double min = dd[0];
        for(double d : dd) if(d < min) min = d;
        return min;
    } double min = dd[0]; min dd[0] dd 0 for(double d : dd) if(d < min) min = d; double d dd if(d < min) min = d; if(d < min) min = d; d < min d min min = d min d return min; min double[] dd dd static class Reader extends BufferedReader{
        Reader(){
            super(new InputStreamReader(System.in));
        }
        String s() throws IOException{
            return readLine();
        }
        String[] ss() throws IOException{
            return readLine().split(" ");
        }
        int i() throws IOException{
            return Integer.parseInt(readLine());
        }
        int[] ii() throws IOException{
            String[] ss = ss();
            int size = ss.length;
            int[] ii = new int[size];
            for(int j = 0; j < size; j++) ii[j] = Integer.parseInt(ss[j]);
            return ii;
        }
        int[] ii(int N) throws IOException{
            int[] ii = new int[N];
            for(int j = 0; j < N; j++) ii[j] = i();
            return ii;
        }
        long l() throws IOException{
            return Long.parseLong(readLine());
        }
        long[] ll() throws IOException{
            String[] ss = ss();
            int size = ss.length;
            long[] ll = new long[size];
            for(int j = 0; j < size; j++) ll[j] = Long.parseLong(ss[j]);            
            return ll;
        }
        long[] ll(int N) throws IOException{
            long[] ll = new long[N];
            for(int j = 0; j < N; j++) ll[j] = i();            
            return ll;
        }
    } Reader Reader(){
            super(new InputStreamReader(System.in));
        } Reader {
            super(new InputStreamReader(System.in));
        } super(new InputStreamReader(System.in)) super new InputStreamReader(System.in) String s() throws IOException{
            return readLine();
        } s {
            return readLine();
        } return readLine(); readLine() readLine String[] ss() throws IOException{
            return readLine().split(" ");
        } ss {
            return readLine().split(" ");
        } return readLine().split(" "); readLine().split(" ") readLine().split readLine() readLine " " int i() throws IOException{
            return Integer.parseInt(readLine());
        } i {
            return Integer.parseInt(readLine());
        } return Integer.parseInt(readLine()); Integer.parseInt(readLine()) Integer.parseInt Integer readLine() readLine int[] ii() throws IOException{
            String[] ss = ss();
            int size = ss.length;
            int[] ii = new int[size];
            for(int j = 0; j < size; j++) ii[j] = Integer.parseInt(ss[j]);
            return ii;
        } ii {
            String[] ss = ss();
            int size = ss.length;
            int[] ii = new int[size];
            for(int j = 0; j < size; j++) ii[j] = Integer.parseInt(ss[j]);
            return ii;
        } String[] ss = ss(); ss ss() ss int size = ss.length; size ss.length ss ss.length int[] ii = new int[size]; ii new int[size] size for(int j = 0; j < size; j++) ii[j] = Integer.parseInt(ss[j]); int j = 0; int j = 0; j 0 j < size j size j++ j++ j ii[j] = Integer.parseInt(ss[j]); ii[j] = Integer.parseInt(ss[j]) ii[j] ii j Integer.parseInt(ss[j]) Integer.parseInt Integer ss[j] ss j return ii; ii int[] ii(int N) throws IOException{
            int[] ii = new int[N];
            for(int j = 0; j < N; j++) ii[j] = i();
            return ii;
        } ii {
            int[] ii = new int[N];
            for(int j = 0; j < N; j++) ii[j] = i();
            return ii;
        } int[] ii = new int[N]; ii new int[N] N for(int j = 0; j < N; j++) ii[j] = i(); int j = 0; int j = 0; j 0 j < N j N j++ j++ j ii[j] = i(); ii[j] = i() ii[j] ii j i() i return ii; ii int N N long l() throws IOException{
            return Long.parseLong(readLine());
        } l {
            return Long.parseLong(readLine());
        } return Long.parseLong(readLine()); Long.parseLong(readLine()) Long.parseLong Long readLine() readLine long[] ll() throws IOException{
            String[] ss = ss();
            int size = ss.length;
            long[] ll = new long[size];
            for(int j = 0; j < size; j++) ll[j] = Long.parseLong(ss[j]);            
            return ll;
        } ll {
            String[] ss = ss();
            int size = ss.length;
            long[] ll = new long[size];
            for(int j = 0; j < size; j++) ll[j] = Long.parseLong(ss[j]);            
            return ll;
        } String[] ss = ss(); ss ss() ss int size = ss.length; size ss.length ss ss.length long[] ll = new long[size]; ll new long[size] size for(int j = 0; j < size; j++) ll[j] = Long.parseLong(ss[j]); int j = 0; int j = 0; j 0 j < size j size j++ j++ j ll[j] = Long.parseLong(ss[j]); ll[j] = Long.parseLong(ss[j]) ll[j] ll j Long.parseLong(ss[j]) Long.parseLong Long ss[j] ss j return ll; ll long[] ll(int N) throws IOException{
            long[] ll = new long[N];
            for(int j = 0; j < N; j++) ll[j] = i();            
            return ll;
        } ll {
            long[] ll = new long[N];
            for(int j = 0; j < N; j++) ll[j] = i();            
            return ll;
        } long[] ll = new long[N]; ll new long[N] N for(int j = 0; j < N; j++) ll[j] = i(); int j = 0; int j = 0; j 0 j < N j N j++ j++ j ll[j] = i(); ll[j] = i() ll[j] ll j i() i return ll; ll int N N BufferedReader public class Main{
    public static void main(String[] args) throws IOException{
        Reader r = new Reader();        
        int N = r.i();
        int[] TA = r.ii();
        int T = TA[0],
            A = TA[1];
        int[] H = r.ii();
        double min = Integer.MAX_VALUE;
        int minI = 0;
        for(int i = 0; i < N; i++){
            double dH = Math.abs(T-H[i]*0.006-A);
            if(dH < min){
                min = dH;
                minI = i+1;
            }
        }
        print(minI);
    }
    static void print(Object o){
        System.out.println(o.toString());
    }
    static void print(boolean b, String s1, String s2){
        System.out.println(b ? s1 : s2);
    }
    static int max(int[] ii){
        int max = ii[0];
        for(int i : ii) if(max < i) max = i;
        return max;
    }
    static int min(int[] ii){
        int min = ii[0];
        for(int i : ii) if(i < min) min = i;
        return min;
    }
    static long max(long[] ll){
        long max = ll[0];
        for(long l : ll) if(max < l) max = l;     
        return max;
    }
    static long min(long[] ll){
        long min = ll[0];
        for(long l : ll) if(l < min) min = l;
        return min;
    }
    static double max(double[] dd){
        double max = dd[0];
        for(double d : dd) if(max < d) max = d;
        return max;
    }
    static double min(double[] dd){
        double min = dd[0];
        for(double d : dd) if(d < min) min = d;
        return min;
    }
    static class Reader extends BufferedReader{
        Reader(){
            super(new InputStreamReader(System.in));
        }
        String s() throws IOException{
            return readLine();
        }
        String[] ss() throws IOException{
            return readLine().split(" ");
        }
        int i() throws IOException{
            return Integer.parseInt(readLine());
        }
        int[] ii() throws IOException{
            String[] ss = ss();
            int size = ss.length;
            int[] ii = new int[size];
            for(int j = 0; j < size; j++) ii[j] = Integer.parseInt(ss[j]);
            return ii;
        }
        int[] ii(int N) throws IOException{
            int[] ii = new int[N];
            for(int j = 0; j < N; j++) ii[j] = i();
            return ii;
        }
        long l() throws IOException{
            return Long.parseLong(readLine());
        }
        long[] ll() throws IOException{
            String[] ss = ss();
            int size = ss.length;
            long[] ll = new long[size];
            for(int j = 0; j < size; j++) ll[j] = Long.parseLong(ss[j]);            
            return ll;
        }
        long[] ll(int N) throws IOException{
            long[] ll = new long[N];
            for(int j = 0; j < N; j++) ll[j] = i();            
            return ll;
        }
    }
} public class Main{
    public static void main(String[] args) throws IOException{
        Reader r = new Reader();        
        int N = r.i();
        int[] TA = r.ii();
        int T = TA[0],
            A = TA[1];
        int[] H = r.ii();
        double min = Integer.MAX_VALUE;
        int minI = 0;
        for(int i = 0; i < N; i++){
            double dH = Math.abs(T-H[i]*0.006-A);
            if(dH < min){
                min = dH;
                minI = i+1;
            }
        }
        print(minI);
    }
    static void print(Object o){
        System.out.println(o.toString());
    }
    static void print(boolean b, String s1, String s2){
        System.out.println(b ? s1 : s2);
    }
    static int max(int[] ii){
        int max = ii[0];
        for(int i : ii) if(max < i) max = i;
        return max;
    }
    static int min(int[] ii){
        int min = ii[0];
        for(int i : ii) if(i < min) min = i;
        return min;
    }
    static long max(long[] ll){
        long max = ll[0];
        for(long l : ll) if(max < l) max = l;     
        return max;
    }
    static long min(long[] ll){
        long min = ll[0];
        for(long l : ll) if(l < min) min = l;
        return min;
    }
    static double max(double[] dd){
        double max = dd[0];
        for(double d : dd) if(max < d) max = d;
        return max;
    }
    static double min(double[] dd){
        double min = dd[0];
        for(double d : dd) if(d < min) min = d;
        return min;
    }
    static class Reader extends BufferedReader{
        Reader(){
            super(new InputStreamReader(System.in));
        }
        String s() throws IOException{
            return readLine();
        }
        String[] ss() throws IOException{
            return readLine().split(" ");
        }
        int i() throws IOException{
            return Integer.parseInt(readLine());
        }
        int[] ii() throws IOException{
            String[] ss = ss();
            int size = ss.length;
            int[] ii = new int[size];
            for(int j = 0; j < size; j++) ii[j] = Integer.parseInt(ss[j]);
            return ii;
        }
        int[] ii(int N) throws IOException{
            int[] ii = new int[N];
            for(int j = 0; j < N; j++) ii[j] = i();
            return ii;
        }
        long l() throws IOException{
            return Long.parseLong(readLine());
        }
        long[] ll() throws IOException{
            String[] ss = ss();
            int size = ss.length;
            long[] ll = new long[size];
            for(int j = 0; j < size; j++) ll[j] = Long.parseLong(ss[j]);            
            return ll;
        }
        long[] ll(int N) throws IOException{
            long[] ll = new long[N];
            for(int j = 0; j < N; j++) ll[j] = i();            
            return ll;
        }
    }
} Main
import java.io.*;
public class Main{
    public static void main(String[] args) throws IOException{
        Reader r = new Reader();        
        int N = r.i();
        int[] TA = r.ii();
        int T = TA[0],
            A = TA[1];
        int[] H = r.ii();
        double min = Integer.MAX_VALUE;
        int minI = 0;
        for(int i = 0; i < N; i++){
            double dH = Math.abs(T-H[i]*0.006-A);
            if(dH < min){
                min = dH;
                minI = i+1;
            }
        }
        print(minI);
    }
    static void print(Object o){
        System.out.println(o.toString());
    }
    static void print(boolean b, String s1, String s2){
        System.out.println(b ? s1 : s2);
    }
    static int max(int[] ii){
        int max = ii[0];
        for(int i : ii) if(max < i) max = i;
        return max;
    }
    static int min(int[] ii){
        int min = ii[0];
        for(int i : ii) if(i < min) min = i;
        return min;
    }
    static long max(long[] ll){
        long max = ll[0];
        for(long l : ll) if(max < l) max = l;     
        return max;
    }
    static long min(long[] ll){
        long min = ll[0];
        for(long l : ll) if(l < min) min = l;
        return min;
    }
    static double max(double[] dd){
        double max = dd[0];
        for(double d : dd) if(max < d) max = d;
        return max;
    }
    static double min(double[] dd){
        double min = dd[0];
        for(double d : dd) if(d < min) min = d;
        return min;
    }
    static class Reader extends BufferedReader{
        Reader(){
            super(new InputStreamReader(System.in));
        }
        String s() throws IOException{
            return readLine();
        }
        String[] ss() throws IOException{
            return readLine().split(" ");
        }
        int i() throws IOException{
            return Integer.parseInt(readLine());
        }
        int[] ii() throws IOException{
            String[] ss = ss();
            int size = ss.length;
            int[] ii = new int[size];
            for(int j = 0; j < size; j++) ii[j] = Integer.parseInt(ss[j]);
            return ii;
        }
        int[] ii(int N) throws IOException{
            int[] ii = new int[N];
            for(int j = 0; j < N; j++) ii[j] = i();
            return ii;
        }
        long l() throws IOException{
            return Long.parseLong(readLine());
        }
        long[] ll() throws IOException{
            String[] ss = ss();
            int size = ss.length;
            long[] ll = new long[size];
            for(int j = 0; j < size; j++) ll[j] = Long.parseLong(ss[j]);            
            return ll;
        }
        long[] ll(int N) throws IOException{
            long[] ll = new long[N];
            for(int j = 0; j < N; j++) ll[j] = i();            
            return ll;
        }
    }
}