import java.util.*;

class Main {
    public static void main(String[] args) {
      
        Scanner sc = new Scanner(System.in);
        int kosu = sc.nextInt(),ond = sc.nextInt(),base = sc.nextInt();
        
      	int ans = -1;
      	double mm =Double.MAX_VALUE;
        for(int i=0;i < kosu;i++){
			double nam = Math.abs(base-(ond-0.006*sc.nextInt()));
			    if(nam <mm ) {
				        mm = nam;
				        ans = i + 1;
			}
      }
        System.out.println(ans);
    }
} import java.util.*; util.* java class Main {
    public static void main(String[] args) {
      
        Scanner sc = new Scanner(System.in);
        int kosu = sc.nextInt(),ond = sc.nextInt(),base = sc.nextInt();
        
      	int ans = -1;
      	double mm =Double.MAX_VALUE;
        for(int i=0;i < kosu;i++){
			double nam = Math.abs(base-(ond-0.006*sc.nextInt()));
			    if(nam <mm ) {
				        mm = nam;
				        ans = i + 1;
			}
      }
        System.out.println(ans);
    }
} Main public static void main(String[] args) {
      
        Scanner sc = new Scanner(System.in);
        int kosu = sc.nextInt(),ond = sc.nextInt(),base = sc.nextInt();
        
      	int ans = -1;
      	double mm =Double.MAX_VALUE;
        for(int i=0;i < kosu;i++){
			double nam = Math.abs(base-(ond-0.006*sc.nextInt()));
			    if(nam <mm ) {
				        mm = nam;
				        ans = i + 1;
			}
      }
        System.out.println(ans);
    } main {
      
        Scanner sc = new Scanner(System.in);
        int kosu = sc.nextInt(),ond = sc.nextInt(),base = sc.nextInt();
        
      	int ans = -1;
      	double mm =Double.MAX_VALUE;
        for(int i=0;i < kosu;i++){
			double nam = Math.abs(base-(ond-0.006*sc.nextInt()));
			    if(nam <mm ) {
				        mm = nam;
				        ans = i + 1;
			}
      }
        System.out.println(ans);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int kosu = sc.nextInt() kosu sc.nextInt() sc.nextInt sc ond = sc.nextInt() ond sc.nextInt() sc.nextInt sc base = sc.nextInt(); base sc.nextInt() sc.nextInt sc int ans = -1; ans -1 1 double mm =Double.MAX_VALUE; mm Double.MAX_VALUE Double Double.MAX_VALUE for(int i=0;i < kosu;i++){
			double nam = Math.abs(base-(ond-0.006*sc.nextInt()));
			    if(nam <mm ) {
				        mm = nam;
				        ans = i + 1;
			}
      } int i=0; int i=0; i 0 i < kosu i kosu i++ i++ i {
			double nam = Math.abs(base-(ond-0.006*sc.nextInt()));
			    if(nam <mm ) {
				        mm = nam;
				        ans = i + 1;
			}
      } {
			double nam = Math.abs(base-(ond-0.006*sc.nextInt()));
			    if(nam <mm ) {
				        mm = nam;
				        ans = i + 1;
			}
      } double nam = Math.abs(base-(ond-0.006*sc.nextInt())); nam Math.abs(base-(ond-0.006*sc.nextInt())) Math.abs Math base-(ond-0.006*sc.nextInt()) base (ond-0.006*sc.nextInt()) ond 0.006*sc.nextInt() 0.006 sc.nextInt() sc.nextInt sc if(nam <mm ) {
				        mm = nam;
				        ans = i + 1;
			} nam <mm nam mm {
				        mm = nam;
				        ans = i + 1;
			} mm = nam mm nam ans = i + 1 ans i + 1 i 1 System.out.println(ans) System.out.println System.out System System.out ans String[] args args
import java.util.*;

class Main {
    public static void main(String[] args) {
      
        Scanner sc = new Scanner(System.in);
        int kosu = sc.nextInt(),ond = sc.nextInt(),base = sc.nextInt();
        
      	int ans = -1;
      	double mm =Double.MAX_VALUE;
        for(int i=0;i < kosu;i++){
			double nam = Math.abs(base-(ond-0.006*sc.nextInt()));
			    if(nam <mm ) {
				        mm = nam;
				        ans = i + 1;
			}
      }
        System.out.println(ans);
    }
}
