import java.util.Scanner;

public class Main{
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        //int N = Integer.parseInt(scan.next());
        int N = Integer.parseInt(scan.next());
        int T = Integer.parseInt(scan.next());
        int A = Integer.parseInt(scan.next());
        int[] h = new int[N];
        double[] ave = new double[N];
        double[] delta = new double[N];
        double tmp = 1000;
        int out=-1;
        for(int i = 0;i<N;i++){
            h[i] = Integer.parseInt(scan.next());
            ave[i] = T-(h[i]*0.006);
        }
        for(int i = 0;i<N;i++){
            delta[i] = Math.abs(A-ave[i]);
            if(tmp>=delta[i]){
                tmp = delta[i];
                out = i;
            }
        }
        System.out.println(out+1);
    }
} import java.util.Scanner; Scanner java.util public class Main{
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        //int N = Integer.parseInt(scan.next());
        int N = Integer.parseInt(scan.next());
        int T = Integer.parseInt(scan.next());
        int A = Integer.parseInt(scan.next());
        int[] h = new int[N];
        double[] ave = new double[N];
        double[] delta = new double[N];
        double tmp = 1000;
        int out=-1;
        for(int i = 0;i<N;i++){
            h[i] = Integer.parseInt(scan.next());
            ave[i] = T-(h[i]*0.006);
        }
        for(int i = 0;i<N;i++){
            delta[i] = Math.abs(A-ave[i]);
            if(tmp>=delta[i]){
                tmp = delta[i];
                out = i;
            }
        }
        System.out.println(out+1);
    }
} Main public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        //int N = Integer.parseInt(scan.next());
        int N = Integer.parseInt(scan.next());
        int T = Integer.parseInt(scan.next());
        int A = Integer.parseInt(scan.next());
        int[] h = new int[N];
        double[] ave = new double[N];
        double[] delta = new double[N];
        double tmp = 1000;
        int out=-1;
        for(int i = 0;i<N;i++){
            h[i] = Integer.parseInt(scan.next());
            ave[i] = T-(h[i]*0.006);
        }
        for(int i = 0;i<N;i++){
            delta[i] = Math.abs(A-ave[i]);
            if(tmp>=delta[i]){
                tmp = delta[i];
                out = i;
            }
        }
        System.out.println(out+1);
    } main {
        Scanner scan = new Scanner(System.in);
        //int N = Integer.parseInt(scan.next());
        int N = Integer.parseInt(scan.next());
        int T = Integer.parseInt(scan.next());
        int A = Integer.parseInt(scan.next());
        int[] h = new int[N];
        double[] ave = new double[N];
        double[] delta = new double[N];
        double tmp = 1000;
        int out=-1;
        for(int i = 0;i<N;i++){
            h[i] = Integer.parseInt(scan.next());
            ave[i] = T-(h[i]*0.006);
        }
        for(int i = 0;i<N;i++){
            delta[i] = Math.abs(A-ave[i]);
            if(tmp>=delta[i]){
                tmp = delta[i];
                out = i;
            }
        }
        System.out.println(out+1);
    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int N = Integer.parseInt(scan.next()); N Integer.parseInt(scan.next()) Integer.parseInt Integer scan.next() scan.next scan int T = Integer.parseInt(scan.next()); T Integer.parseInt(scan.next()) Integer.parseInt Integer scan.next() scan.next scan int A = Integer.parseInt(scan.next()); A Integer.parseInt(scan.next()) Integer.parseInt Integer scan.next() scan.next scan int[] h = new int[N]; h new int[N] N double[] ave = new double[N]; ave new double[N] N double[] delta = new double[N]; delta new double[N] N double tmp = 1000; tmp 1000 int out=-1; out -1 1 for(int i = 0;i<N;i++){
            h[i] = Integer.parseInt(scan.next());
            ave[i] = T-(h[i]*0.006);
        } int i = 0; int i = 0; i 0 i<N i N i++ i++ i {
            h[i] = Integer.parseInt(scan.next());
            ave[i] = T-(h[i]*0.006);
        } {
            h[i] = Integer.parseInt(scan.next());
            ave[i] = T-(h[i]*0.006);
        } h[i] = Integer.parseInt(scan.next()) h[i] h i Integer.parseInt(scan.next()) Integer.parseInt Integer scan.next() scan.next scan ave[i] = T-(h[i]*0.006) ave[i] ave i T-(h[i]*0.006) T (h[i]*0.006) h[i] h i 0.006 for(int i = 0;i<N;i++){
            delta[i] = Math.abs(A-ave[i]);
            if(tmp>=delta[i]){
                tmp = delta[i];
                out = i;
            }
        } int i = 0; int i = 0; i 0 i<N i N i++ i++ i {
            delta[i] = Math.abs(A-ave[i]);
            if(tmp>=delta[i]){
                tmp = delta[i];
                out = i;
            }
        } {
            delta[i] = Math.abs(A-ave[i]);
            if(tmp>=delta[i]){
                tmp = delta[i];
                out = i;
            }
        } delta[i] = Math.abs(A-ave[i]) delta[i] delta i Math.abs(A-ave[i]) Math.abs Math A-ave[i] A ave[i] ave i if(tmp>=delta[i]){
                tmp = delta[i];
                out = i;
            } tmp>=delta[i] tmp delta[i] delta i {
                tmp = delta[i];
                out = i;
            } tmp = delta[i] tmp delta[i] delta i out = i out i System.out.println(out+1) System.out.println System.out System System.out out+1 out 1 String[] args args public class Main{
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        //int N = Integer.parseInt(scan.next());
        int N = Integer.parseInt(scan.next());
        int T = Integer.parseInt(scan.next());
        int A = Integer.parseInt(scan.next());
        int[] h = new int[N];
        double[] ave = new double[N];
        double[] delta = new double[N];
        double tmp = 1000;
        int out=-1;
        for(int i = 0;i<N;i++){
            h[i] = Integer.parseInt(scan.next());
            ave[i] = T-(h[i]*0.006);
        }
        for(int i = 0;i<N;i++){
            delta[i] = Math.abs(A-ave[i]);
            if(tmp>=delta[i]){
                tmp = delta[i];
                out = i;
            }
        }
        System.out.println(out+1);
    }
} public class Main{
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        //int N = Integer.parseInt(scan.next());
        int N = Integer.parseInt(scan.next());
        int T = Integer.parseInt(scan.next());
        int A = Integer.parseInt(scan.next());
        int[] h = new int[N];
        double[] ave = new double[N];
        double[] delta = new double[N];
        double tmp = 1000;
        int out=-1;
        for(int i = 0;i<N;i++){
            h[i] = Integer.parseInt(scan.next());
            ave[i] = T-(h[i]*0.006);
        }
        for(int i = 0;i<N;i++){
            delta[i] = Math.abs(A-ave[i]);
            if(tmp>=delta[i]){
                tmp = delta[i];
                out = i;
            }
        }
        System.out.println(out+1);
    }
} Main
import java.util.Scanner;

public class Main{
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        //int N = Integer.parseInt(scan.next());
        int N = Integer.parseInt(scan.next());
        int T = Integer.parseInt(scan.next());
        int A = Integer.parseInt(scan.next());
        int[] h = new int[N];
        double[] ave = new double[N];
        double[] delta = new double[N];
        double tmp = 1000;
        int out=-1;
        for(int i = 0;i<N;i++){
            h[i] = Integer.parseInt(scan.next());
            ave[i] = T-(h[i]*0.006);
        }
        for(int i = 0;i<N;i++){
            delta[i] = Math.abs(A-ave[i]);
            if(tmp>=delta[i]){
                tmp = delta[i];
                out = i;
            }
        }
        System.out.println(out+1);
    }
}