import java.util.*;
import java.lang.Math;

public class Main {
    public static void main(String args[]){
        Scanner sc = new Scanner(System.in);

        int n = sc.nextInt();
        double t = sc.nextInt();
        double a = sc.nextInt();

        int cand = 0;
        double min = Integer.MAX_VALUE;

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

        int n = sc.nextInt();
        double t = sc.nextInt();
        double a = sc.nextInt();

        int cand = 0;
        double min = Integer.MAX_VALUE;

        for (int i = 0; i < n; i++) {
            double dif = Math.abs(t - (sc.nextDouble() * 0.006) - a);
            if (dif < min) {
                cand = i;
                min = dif;
            }
        }
        System.out.println(cand + 1);
    }
} Main public static void main(String args[]){
        Scanner sc = new Scanner(System.in);

        int n = sc.nextInt();
        double t = sc.nextInt();
        double a = sc.nextInt();

        int cand = 0;
        double min = Integer.MAX_VALUE;

        for (int i = 0; i < n; i++) {
            double dif = Math.abs(t - (sc.nextDouble() * 0.006) - a);
            if (dif < min) {
                cand = i;
                min = dif;
            }
        }
        System.out.println(cand + 1);
    } main {
        Scanner sc = new Scanner(System.in);

        int n = sc.nextInt();
        double t = sc.nextInt();
        double a = sc.nextInt();

        int cand = 0;
        double min = Integer.MAX_VALUE;

        for (int i = 0; i < n; i++) {
            double dif = Math.abs(t - (sc.nextDouble() * 0.006) - a);
            if (dif < min) {
                cand = i;
                min = dif;
            }
        }
        System.out.println(cand + 1);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc double t = sc.nextInt(); t sc.nextInt() sc.nextInt sc double a = sc.nextInt(); a sc.nextInt() sc.nextInt sc int cand = 0; cand 0 double min = Integer.MAX_VALUE; min Integer.MAX_VALUE Integer Integer.MAX_VALUE for (int i = 0; i < n; i++) {
            double dif = Math.abs(t - (sc.nextDouble() * 0.006) - a);
            if (dif < min) {
                cand = i;
                min = dif;
            }
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
            double dif = Math.abs(t - (sc.nextDouble() * 0.006) - a);
            if (dif < min) {
                cand = i;
                min = dif;
            }
        } {
            double dif = Math.abs(t - (sc.nextDouble() * 0.006) - a);
            if (dif < min) {
                cand = i;
                min = dif;
            }
        } double dif = Math.abs(t - (sc.nextDouble() * 0.006) - a); dif Math.abs(t - (sc.nextDouble() * 0.006) - a) Math.abs Math t - (sc.nextDouble() * 0.006) - a t - (sc.nextDouble() * 0.006) - a t (sc.nextDouble() * 0.006) sc.nextDouble() sc.nextDouble sc 0.006 a if (dif < min) {
                cand = i;
                min = dif;
            } dif < min dif min {
                cand = i;
                min = dif;
            } cand = i cand i min = dif min dif System.out.println(cand + 1) System.out.println System.out System System.out cand + 1 cand 1 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.nextInt();
        double a = sc.nextInt();

        int cand = 0;
        double min = Integer.MAX_VALUE;

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

        int n = sc.nextInt();
        double t = sc.nextInt();
        double a = sc.nextInt();

        int cand = 0;
        double min = Integer.MAX_VALUE;

        for (int i = 0; i < n; i++) {
            double dif = Math.abs(t - (sc.nextDouble() * 0.006) - a);
            if (dif < min) {
                cand = i;
                min = dif;
            }
        }
        System.out.println(cand + 1);
    }
} Main
import java.util.*;
import java.lang.Math;

public class Main {
    public static void main(String args[]){
        Scanner sc = new Scanner(System.in);

        int n = sc.nextInt();
        double t = sc.nextInt();
        double a = sc.nextInt();

        int cand = 0;
        double min = Integer.MAX_VALUE;

        for (int i = 0; i < n; i++) {
            double dif = Math.abs(t - (sc.nextDouble() * 0.006) - a);
            if (dif < min) {
                cand = i;
                min = dif;
            }
        }
        System.out.println(cand + 1);
    }
}
