import java.util.*;

public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        double T = (double)sc.nextInt();
        double A = (double)sc.nextInt();
        double min = 100000000;
        int ans = 0;
        for(int i = 0;i < N;i++){
            double d = Math.abs(A-T+(double)sc.nextInt()*0.006);
            if(d < min){
                min = d;
                ans = i+1;
            }
        }
        System.out.println(ans);
    }
} 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 = (double)sc.nextInt();
        double A = (double)sc.nextInt();
        double min = 100000000;
        int ans = 0;
        for(int i = 0;i < N;i++){
            double d = Math.abs(A-T+(double)sc.nextInt()*0.006);
            if(d < min){
                min = d;
                ans = i+1;
            }
        }
        System.out.println(ans);
    }
} Main public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        double T = (double)sc.nextInt();
        double A = (double)sc.nextInt();
        double min = 100000000;
        int ans = 0;
        for(int i = 0;i < N;i++){
            double d = Math.abs(A-T+(double)sc.nextInt()*0.006);
            if(d < min){
                min = d;
                ans = i+1;
            }
        }
        System.out.println(ans);
    } main {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        double T = (double)sc.nextInt();
        double A = (double)sc.nextInt();
        double min = 100000000;
        int ans = 0;
        for(int i = 0;i < N;i++){
            double d = Math.abs(A-T+(double)sc.nextInt()*0.006);
            if(d < min){
                min = d;
                ans = i+1;
            }
        }
        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 = (double)sc.nextInt(); T (double)sc.nextInt() sc.nextInt sc double A = (double)sc.nextInt(); A (double)sc.nextInt() sc.nextInt sc double min = 100000000; min 100000000 int ans = 0; ans 0 for(int i = 0;i < N;i++){
            double d = Math.abs(A-T+(double)sc.nextInt()*0.006);
            if(d < min){
                min = d;
                ans = i+1;
            }
        } int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
            double d = Math.abs(A-T+(double)sc.nextInt()*0.006);
            if(d < min){
                min = d;
                ans = i+1;
            }
        } {
            double d = Math.abs(A-T+(double)sc.nextInt()*0.006);
            if(d < min){
                min = d;
                ans = i+1;
            }
        } double d = Math.abs(A-T+(double)sc.nextInt()*0.006); d Math.abs(A-T+(double)sc.nextInt()*0.006) Math.abs Math A-T+(double)sc.nextInt()*0.006 A-T A T (double)sc.nextInt()*0.006 (double)sc.nextInt() sc.nextInt sc 0.006 if(d < min){
                min = d;
                ans = i+1;
            } d < min d min {
                min = d;
                ans = i+1;
            } min = d min d ans = i+1 ans i+1 i 1 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){
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        double T = (double)sc.nextInt();
        double A = (double)sc.nextInt();
        double min = 100000000;
        int ans = 0;
        for(int i = 0;i < N;i++){
            double d = Math.abs(A-T+(double)sc.nextInt()*0.006);
            if(d < min){
                min = d;
                ans = i+1;
            }
        }
        System.out.println(ans);
    }
} public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        double T = (double)sc.nextInt();
        double A = (double)sc.nextInt();
        double min = 100000000;
        int ans = 0;
        for(int i = 0;i < N;i++){
            double d = Math.abs(A-T+(double)sc.nextInt()*0.006);
            if(d < min){
                min = d;
                ans = i+1;
            }
        }
        System.out.println(ans);
    }
} 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 = (double)sc.nextInt();
        double A = (double)sc.nextInt();
        double min = 100000000;
        int ans = 0;
        for(int i = 0;i < N;i++){
            double d = Math.abs(A-T+(double)sc.nextInt()*0.006);
            if(d < min){
                min = d;
                ans = i+1;
            }
        }
        System.out.println(ans);
    }
}