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.nextInt();
        double a = sc.nextInt();
        int[] h = new int[n];
        for(int i = 0; i < n; i++){
            h[i] = sc.nextInt();
        }
        int plan = 0;
        double sub = 0.0;
        double temp = 0;
        double minsub = 100000.0;
        for(int i = 0; i < n; i++){
            temp =  t - h[i] * 0.006;
            sub = Math.abs(a - temp);
            if(sub < minsub){
                minsub = sub;
                plan = i+1;
            }
        }
        System.out.print(plan);
    }
} 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.nextInt();
        double a = sc.nextInt();
        int[] h = new int[n];
        for(int i = 0; i < n; i++){
            h[i] = sc.nextInt();
        }
        int plan = 0;
        double sub = 0.0;
        double temp = 0;
        double minsub = 100000.0;
        for(int i = 0; i < n; i++){
            temp =  t - h[i] * 0.006;
            sub = Math.abs(a - temp);
            if(sub < minsub){
                minsub = sub;
                plan = i+1;
            }
        }
        System.out.print(plan);
    }
} 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[] h = new int[n];
        for(int i = 0; i < n; i++){
            h[i] = sc.nextInt();
        }
        int plan = 0;
        double sub = 0.0;
        double temp = 0;
        double minsub = 100000.0;
        for(int i = 0; i < n; i++){
            temp =  t - h[i] * 0.006;
            sub = Math.abs(a - temp);
            if(sub < minsub){
                minsub = sub;
                plan = i+1;
            }
        }
        System.out.print(plan);
    } main {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        double t = sc.nextInt();
        double a = sc.nextInt();
        int[] h = new int[n];
        for(int i = 0; i < n; i++){
            h[i] = sc.nextInt();
        }
        int plan = 0;
        double sub = 0.0;
        double temp = 0;
        double minsub = 100000.0;
        for(int i = 0; i < n; i++){
            temp =  t - h[i] * 0.006;
            sub = Math.abs(a - temp);
            if(sub < minsub){
                minsub = sub;
                plan = i+1;
            }
        }
        System.out.print(plan);
    } 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[] h = new int[n]; h new int[n] n for(int i = 0; i < n; i++){
            h[i] = sc.nextInt();
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
            h[i] = sc.nextInt();
        } {
            h[i] = sc.nextInt();
        } h[i] = sc.nextInt() h[i] h i sc.nextInt() sc.nextInt sc int plan = 0; plan 0 double sub = 0.0; sub 0.0 double temp = 0; temp 0 double minsub = 100000.0; minsub 100000.0 for(int i = 0; i < n; i++){
            temp =  t - h[i] * 0.006;
            sub = Math.abs(a - temp);
            if(sub < minsub){
                minsub = sub;
                plan = i+1;
            }
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
            temp =  t - h[i] * 0.006;
            sub = Math.abs(a - temp);
            if(sub < minsub){
                minsub = sub;
                plan = i+1;
            }
        } {
            temp =  t - h[i] * 0.006;
            sub = Math.abs(a - temp);
            if(sub < minsub){
                minsub = sub;
                plan = i+1;
            }
        } temp =  t - h[i] * 0.006 temp t - h[i] * 0.006 t h[i] * 0.006 h[i] h i 0.006 sub = Math.abs(a - temp) sub Math.abs(a - temp) Math.abs Math a - temp a temp if(sub < minsub){
                minsub = sub;
                plan = i+1;
            } sub < minsub sub minsub {
                minsub = sub;
                plan = i+1;
            } minsub = sub minsub sub plan = i+1 plan i+1 i 1 System.out.print(plan) System.out.print System.out System System.out plan 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[] h = new int[n];
        for(int i = 0; i < n; i++){
            h[i] = sc.nextInt();
        }
        int plan = 0;
        double sub = 0.0;
        double temp = 0;
        double minsub = 100000.0;
        for(int i = 0; i < n; i++){
            temp =  t - h[i] * 0.006;
            sub = Math.abs(a - temp);
            if(sub < minsub){
                minsub = sub;
                plan = i+1;
            }
        }
        System.out.print(plan);
    }
} 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[] h = new int[n];
        for(int i = 0; i < n; i++){
            h[i] = sc.nextInt();
        }
        int plan = 0;
        double sub = 0.0;
        double temp = 0;
        double minsub = 100000.0;
        for(int i = 0; i < n; i++){
            temp =  t - h[i] * 0.006;
            sub = Math.abs(a - temp);
            if(sub < minsub){
                minsub = sub;
                plan = i+1;
            }
        }
        System.out.print(plan);
    }
} 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.nextInt();
        double a = sc.nextInt();
        int[] h = new int[n];
        for(int i = 0; i < n; i++){
            h[i] = sc.nextInt();
        }
        int plan = 0;
        double sub = 0.0;
        double temp = 0;
        double minsub = 100000.0;
        for(int i = 0; i < n; i++){
            temp =  t - h[i] * 0.006;
            sub = Math.abs(a - temp);
            if(sub < minsub){
                minsub = sub;
                plan = i+1;
            }
        }
        System.out.print(plan);
    }
}