import java.util.*;
import java.io.*;
import java.math.*;
 
public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        double t = sc.nextDouble();
        double a = sc.nextDouble();
        double rem = Integer.MAX_VALUE;
        int ans = 0;
        for(int i = 1; i <= n; i++){
            double h = sc.nextDouble();
            if(rem > Math.abs(t-h*0.006-a)){
                ans = i;
                rem = Math.abs(t-h*0.006-a);
            }
        }
        System.out.println(ans);
    }
} import java.util.*; util.* java import java.io.*; io.* java import java.math.*; math.* java public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        double t = sc.nextDouble();
        double a = sc.nextDouble();
        double rem = Integer.MAX_VALUE;
        int ans = 0;
        for(int i = 1; i <= n; i++){
            double h = sc.nextDouble();
            if(rem > Math.abs(t-h*0.006-a)){
                ans = i;
                rem = Math.abs(t-h*0.006-a);
            }
        }
        System.out.println(ans);
    }
} Main public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        double t = sc.nextDouble();
        double a = sc.nextDouble();
        double rem = Integer.MAX_VALUE;
        int ans = 0;
        for(int i = 1; i <= n; i++){
            double h = sc.nextDouble();
            if(rem > Math.abs(t-h*0.006-a)){
                ans = i;
                rem = Math.abs(t-h*0.006-a);
            }
        }
        System.out.println(ans);
    } main {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        double t = sc.nextDouble();
        double a = sc.nextDouble();
        double rem = Integer.MAX_VALUE;
        int ans = 0;
        for(int i = 1; i <= n; i++){
            double h = sc.nextDouble();
            if(rem > Math.abs(t-h*0.006-a)){
                ans = i;
                rem = Math.abs(t-h*0.006-a);
            }
        }
        System.out.println(ans);
    } 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 rem = Integer.MAX_VALUE; rem Integer.MAX_VALUE Integer Integer.MAX_VALUE int ans = 0; ans 0 for(int i = 1; i <= n; i++){
            double h = sc.nextDouble();
            if(rem > Math.abs(t-h*0.006-a)){
                ans = i;
                rem = Math.abs(t-h*0.006-a);
            }
        } int i = 1; int i = 1; i 1 i <= n i n i++ i++ i {
            double h = sc.nextDouble();
            if(rem > Math.abs(t-h*0.006-a)){
                ans = i;
                rem = Math.abs(t-h*0.006-a);
            }
        } {
            double h = sc.nextDouble();
            if(rem > Math.abs(t-h*0.006-a)){
                ans = i;
                rem = Math.abs(t-h*0.006-a);
            }
        } double h = sc.nextDouble(); h sc.nextDouble() sc.nextDouble sc if(rem > Math.abs(t-h*0.006-a)){
                ans = i;
                rem = Math.abs(t-h*0.006-a);
            } rem > Math.abs(t-h*0.006-a) rem Math.abs(t-h*0.006-a) Math.abs Math t-h*0.006-a t-h*0.006-a t h*0.006 h 0.006 a {
                ans = i;
                rem = Math.abs(t-h*0.006-a);
            } ans = i ans i rem = Math.abs(t-h*0.006-a) rem Math.abs(t-h*0.006-a) Math.abs Math t-h*0.006-a t-h*0.006-a t h*0.006 h 0.006 a 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) throws Exception {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        double t = sc.nextDouble();
        double a = sc.nextDouble();
        double rem = Integer.MAX_VALUE;
        int ans = 0;
        for(int i = 1; i <= n; i++){
            double h = sc.nextDouble();
            if(rem > Math.abs(t-h*0.006-a)){
                ans = i;
                rem = Math.abs(t-h*0.006-a);
            }
        }
        System.out.println(ans);
    }
} public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        double t = sc.nextDouble();
        double a = sc.nextDouble();
        double rem = Integer.MAX_VALUE;
        int ans = 0;
        for(int i = 1; i <= n; i++){
            double h = sc.nextDouble();
            if(rem > Math.abs(t-h*0.006-a)){
                ans = i;
                rem = Math.abs(t-h*0.006-a);
            }
        }
        System.out.println(ans);
    }
} Main
import java.util.*;
import java.io.*;
import java.math.*;
 
public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        double t = sc.nextDouble();
        double a = sc.nextDouble();
        double rem = Integer.MAX_VALUE;
        int ans = 0;
        for(int i = 1; i <= n; i++){
            double h = sc.nextDouble();
            if(rem > Math.abs(t-h*0.006-a)){
                ans = i;
                rem = Math.abs(t-h*0.006-a);
            }
        }
        System.out.println(ans);
    }
}