import java.util.*;
 
public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        double t = sc.nextDouble();
        double a = sc.nextDouble();
        double height[] = new double[n];
        double min = 1000;
        int index = 0;
        for(int i=0; i<n; i++){
            height[i] = sc.nextDouble();
            double temp = t - height[i]*0.006;
            if(Math.abs(a - temp) < min){
                min = Math.abs(a - temp);
                index = i+1;
            }
        }
        System.out.println(index);
    }
} import java.util.*; util.* java public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        double t = sc.nextDouble();
        double a = sc.nextDouble();
        double height[] = new double[n];
        double min = 1000;
        int index = 0;
        for(int i=0; i<n; i++){
            height[i] = sc.nextDouble();
            double temp = t - height[i]*0.006;
            if(Math.abs(a - temp) < min){
                min = Math.abs(a - temp);
                index = i+1;
            }
        }
        System.out.println(index);
    }
} Main public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        double t = sc.nextDouble();
        double a = sc.nextDouble();
        double height[] = new double[n];
        double min = 1000;
        int index = 0;
        for(int i=0; i<n; i++){
            height[i] = sc.nextDouble();
            double temp = t - height[i]*0.006;
            if(Math.abs(a - temp) < min){
                min = Math.abs(a - temp);
                index = i+1;
            }
        }
        System.out.println(index);
    } main {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        double t = sc.nextDouble();
        double a = sc.nextDouble();
        double height[] = new double[n];
        double min = 1000;
        int index = 0;
        for(int i=0; i<n; i++){
            height[i] = sc.nextDouble();
            double temp = t - height[i]*0.006;
            if(Math.abs(a - temp) < min){
                min = Math.abs(a - temp);
                index = i+1;
            }
        }
        System.out.println(index);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc double t = sc.nextDouble(); t sc.nextDouble() sc.nextDouble sc double a = sc.nextDouble(); a sc.nextDouble() sc.nextDouble sc double height[] = new double[n]; height new double[n] n double min = 1000; min 1000 int index = 0; index 0 for(int i=0; i<n; i++){
            height[i] = sc.nextDouble();
            double temp = t - height[i]*0.006;
            if(Math.abs(a - temp) < min){
                min = Math.abs(a - temp);
                index = i+1;
            }
        } int i=0; int i=0; i 0 i<n i n i++ i++ i {
            height[i] = sc.nextDouble();
            double temp = t - height[i]*0.006;
            if(Math.abs(a - temp) < min){
                min = Math.abs(a - temp);
                index = i+1;
            }
        } {
            height[i] = sc.nextDouble();
            double temp = t - height[i]*0.006;
            if(Math.abs(a - temp) < min){
                min = Math.abs(a - temp);
                index = i+1;
            }
        } height[i] = sc.nextDouble() height[i] height i sc.nextDouble() sc.nextDouble sc double temp = t - height[i]*0.006; temp t - height[i]*0.006 t height[i]*0.006 height[i] height i 0.006 if(Math.abs(a - temp) < min){
                min = Math.abs(a - temp);
                index = i+1;
            } Math.abs(a - temp) < min Math.abs(a - temp) Math.abs Math a - temp a temp min {
                min = Math.abs(a - temp);
                index = i+1;
            } min = Math.abs(a - temp) min Math.abs(a - temp) Math.abs Math a - temp a temp index = i+1 index i+1 i 1 System.out.println(index) System.out.println System.out System System.out index String[] args args public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        double t = sc.nextDouble();
        double a = sc.nextDouble();
        double height[] = new double[n];
        double min = 1000;
        int index = 0;
        for(int i=0; i<n; i++){
            height[i] = sc.nextDouble();
            double temp = t - height[i]*0.006;
            if(Math.abs(a - temp) < min){
                min = Math.abs(a - temp);
                index = i+1;
            }
        }
        System.out.println(index);
    }
} public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        double t = sc.nextDouble();
        double a = sc.nextDouble();
        double height[] = new double[n];
        double min = 1000;
        int index = 0;
        for(int i=0; i<n; i++){
            height[i] = sc.nextDouble();
            double temp = t - height[i]*0.006;
            if(Math.abs(a - temp) < min){
                min = Math.abs(a - temp);
                index = i+1;
            }
        }
        System.out.println(index);
    }
} Main
import java.util.*;
 
public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        double t = sc.nextDouble();
        double a = sc.nextDouble();
        double height[] = new double[n];
        double min = 1000;
        int index = 0;
        for(int i=0; i<n; i++){
            height[i] = sc.nextDouble();
            double temp = t - height[i]*0.006;
            if(Math.abs(a - temp) < min){
                min = Math.abs(a - temp);
                index = i+1;
            }
        }
        System.out.println(index);
    }
}