import java.util.*;
import java.lang.*;
import java.io.*;

public class Main {
    public static void main(String args[]) {
        Scanner scan = new Scanner(System.in);
        
        int n = scan.nextInt();
        int T = scan.nextInt();
        int A = scan.nextInt();
        float[] arr = new float[n];
        
        for(int i = 0; i < n; i++) arr[i] = (float)Math.abs(A - (T - 0.006 * scan.nextInt()));
        
        int res_index = 0;
        float min = Float.MAX_VALUE;
        
        for(int i = 0; i < n; i++){
            if(arr[i] < min){
                res_index = i+1;
                min = arr[i];
            }
        }
        
        System.out.println(res_index);
    }
} import java.util.*; util.* java import java.lang.*; lang.* java import java.io.*; io.* java public class Main {
    public static void main(String args[]) {
        Scanner scan = new Scanner(System.in);
        
        int n = scan.nextInt();
        int T = scan.nextInt();
        int A = scan.nextInt();
        float[] arr = new float[n];
        
        for(int i = 0; i < n; i++) arr[i] = (float)Math.abs(A - (T - 0.006 * scan.nextInt()));
        
        int res_index = 0;
        float min = Float.MAX_VALUE;
        
        for(int i = 0; i < n; i++){
            if(arr[i] < min){
                res_index = i+1;
                min = arr[i];
            }
        }
        
        System.out.println(res_index);
    }
} Main public static void main(String args[]) {
        Scanner scan = new Scanner(System.in);
        
        int n = scan.nextInt();
        int T = scan.nextInt();
        int A = scan.nextInt();
        float[] arr = new float[n];
        
        for(int i = 0; i < n; i++) arr[i] = (float)Math.abs(A - (T - 0.006 * scan.nextInt()));
        
        int res_index = 0;
        float min = Float.MAX_VALUE;
        
        for(int i = 0; i < n; i++){
            if(arr[i] < min){
                res_index = i+1;
                min = arr[i];
            }
        }
        
        System.out.println(res_index);
    } main {
        Scanner scan = new Scanner(System.in);
        
        int n = scan.nextInt();
        int T = scan.nextInt();
        int A = scan.nextInt();
        float[] arr = new float[n];
        
        for(int i = 0; i < n; i++) arr[i] = (float)Math.abs(A - (T - 0.006 * scan.nextInt()));
        
        int res_index = 0;
        float min = Float.MAX_VALUE;
        
        for(int i = 0; i < n; i++){
            if(arr[i] < min){
                res_index = i+1;
                min = arr[i];
            }
        }
        
        System.out.println(res_index);
    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int n = scan.nextInt(); n scan.nextInt() scan.nextInt scan int T = scan.nextInt(); T scan.nextInt() scan.nextInt scan int A = scan.nextInt(); A scan.nextInt() scan.nextInt scan float[] arr = new float[n]; arr new float[n] n for(int i = 0; i < n; i++) arr[i] = (float)Math.abs(A - (T - 0.006 * scan.nextInt())); int i = 0; int i = 0; i 0 i < n i n i++ i++ i arr[i] = (float)Math.abs(A - (T - 0.006 * scan.nextInt())); arr[i] = (float)Math.abs(A - (T - 0.006 * scan.nextInt())) arr[i] arr i (float)Math.abs(A - (T - 0.006 * scan.nextInt())) Math.abs Math A - (T - 0.006 * scan.nextInt()) A (T - 0.006 * scan.nextInt()) T 0.006 * scan.nextInt() 0.006 scan.nextInt() scan.nextInt scan int res_index = 0; res_index 0 float min = Float.MAX_VALUE; min Float.MAX_VALUE Float Float.MAX_VALUE for(int i = 0; i < n; i++){
            if(arr[i] < min){
                res_index = i+1;
                min = arr[i];
            }
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
            if(arr[i] < min){
                res_index = i+1;
                min = arr[i];
            }
        } {
            if(arr[i] < min){
                res_index = i+1;
                min = arr[i];
            }
        } if(arr[i] < min){
                res_index = i+1;
                min = arr[i];
            } arr[i] < min arr[i] arr i min {
                res_index = i+1;
                min = arr[i];
            } res_index = i+1 res_index i+1 i 1 min = arr[i] min arr[i] arr i System.out.println(res_index) System.out.println System.out System System.out res_index String args[] args public class Main {
    public static void main(String args[]) {
        Scanner scan = new Scanner(System.in);
        
        int n = scan.nextInt();
        int T = scan.nextInt();
        int A = scan.nextInt();
        float[] arr = new float[n];
        
        for(int i = 0; i < n; i++) arr[i] = (float)Math.abs(A - (T - 0.006 * scan.nextInt()));
        
        int res_index = 0;
        float min = Float.MAX_VALUE;
        
        for(int i = 0; i < n; i++){
            if(arr[i] < min){
                res_index = i+1;
                min = arr[i];
            }
        }
        
        System.out.println(res_index);
    }
} public class Main {
    public static void main(String args[]) {
        Scanner scan = new Scanner(System.in);
        
        int n = scan.nextInt();
        int T = scan.nextInt();
        int A = scan.nextInt();
        float[] arr = new float[n];
        
        for(int i = 0; i < n; i++) arr[i] = (float)Math.abs(A - (T - 0.006 * scan.nextInt()));
        
        int res_index = 0;
        float min = Float.MAX_VALUE;
        
        for(int i = 0; i < n; i++){
            if(arr[i] < min){
                res_index = i+1;
                min = arr[i];
            }
        }
        
        System.out.println(res_index);
    }
} Main
import java.util.*;
import java.lang.*;
import java.io.*;

public class Main {
    public static void main(String args[]) {
        Scanner scan = new Scanner(System.in);
        
        int n = scan.nextInt();
        int T = scan.nextInt();
        int A = scan.nextInt();
        float[] arr = new float[n];
        
        for(int i = 0; i < n; i++) arr[i] = (float)Math.abs(A - (T - 0.006 * scan.nextInt()));
        
        int res_index = 0;
        float min = Float.MAX_VALUE;
        
        for(int i = 0; i < n; i++){
            if(arr[i] < min){
                res_index = i+1;
                min = arr[i];
            }
        }
        
        System.out.println(res_index);
    }
}
