import java.util.Scanner;

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();
		int[] h = new int[n];
		double[] t = new double[n];

		int ans = -1;
		for(int i=0; i<n; i++) {
			h[i] = scan.nextInt();
			t[i] = Math.abs((T - h[i]*0.006)-a);
			if(ans==-1) {
				ans=i;
			}else if(t[i]<t[ans]) {
				ans=i;
			}
		}
		System.out.println(ans+1);
	}
} import java.util.Scanner; Scanner java.util 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();
		int[] h = new int[n];
		double[] t = new double[n];

		int ans = -1;
		for(int i=0; i<n; i++) {
			h[i] = scan.nextInt();
			t[i] = Math.abs((T - h[i]*0.006)-a);
			if(ans==-1) {
				ans=i;
			}else if(t[i]<t[ans]) {
				ans=i;
			}
		}
		System.out.println(ans+1);
	}
} 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();
		int[] h = new int[n];
		double[] t = new double[n];

		int ans = -1;
		for(int i=0; i<n; i++) {
			h[i] = scan.nextInt();
			t[i] = Math.abs((T - h[i]*0.006)-a);
			if(ans==-1) {
				ans=i;
			}else if(t[i]<t[ans]) {
				ans=i;
			}
		}
		System.out.println(ans+1);
	} main {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int T = scan.nextInt();
		int a = scan.nextInt();
		int[] h = new int[n];
		double[] t = new double[n];

		int ans = -1;
		for(int i=0; i<n; i++) {
			h[i] = scan.nextInt();
			t[i] = Math.abs((T - h[i]*0.006)-a);
			if(ans==-1) {
				ans=i;
			}else if(t[i]<t[ans]) {
				ans=i;
			}
		}
		System.out.println(ans+1);
	} 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 int[] h = new int[n]; h new int[n] n double[] t = new double[n]; t new double[n] n int ans = -1; ans -1 1 for(int i=0; i<n; i++) {
			h[i] = scan.nextInt();
			t[i] = Math.abs((T - h[i]*0.006)-a);
			if(ans==-1) {
				ans=i;
			}else if(t[i]<t[ans]) {
				ans=i;
			}
		} int i=0; int i=0; i 0 i<n i n i++ i++ i {
			h[i] = scan.nextInt();
			t[i] = Math.abs((T - h[i]*0.006)-a);
			if(ans==-1) {
				ans=i;
			}else if(t[i]<t[ans]) {
				ans=i;
			}
		} {
			h[i] = scan.nextInt();
			t[i] = Math.abs((T - h[i]*0.006)-a);
			if(ans==-1) {
				ans=i;
			}else if(t[i]<t[ans]) {
				ans=i;
			}
		} h[i] = scan.nextInt() h[i] h i scan.nextInt() scan.nextInt scan t[i] = Math.abs((T - h[i]*0.006)-a) t[i] t i Math.abs((T - h[i]*0.006)-a) Math.abs Math (T - h[i]*0.006)-a (T - h[i]*0.006) T h[i]*0.006 h[i] h i 0.006 a if(ans==-1) {
				ans=i;
			}else if(t[i]<t[ans]) {
				ans=i;
			} ans==-1 ans -1 1 {
				ans=i;
			} ans=i ans i if(t[i]<t[ans]) {
				ans=i;
			} t[i]<t[ans] t[i] t i t[ans] t ans {
				ans=i;
			} ans=i ans i System.out.println(ans+1) System.out.println System.out System System.out ans+1 ans 1 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();
		int[] h = new int[n];
		double[] t = new double[n];

		int ans = -1;
		for(int i=0; i<n; i++) {
			h[i] = scan.nextInt();
			t[i] = Math.abs((T - h[i]*0.006)-a);
			if(ans==-1) {
				ans=i;
			}else if(t[i]<t[ans]) {
				ans=i;
			}
		}
		System.out.println(ans+1);
	}
} 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();
		int[] h = new int[n];
		double[] t = new double[n];

		int ans = -1;
		for(int i=0; i<n; i++) {
			h[i] = scan.nextInt();
			t[i] = Math.abs((T - h[i]*0.006)-a);
			if(ans==-1) {
				ans=i;
			}else if(t[i]<t[ans]) {
				ans=i;
			}
		}
		System.out.println(ans+1);
	}
} Main
import java.util.Scanner;

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();
		int[] h = new int[n];
		double[] t = new double[n];

		int ans = -1;
		for(int i=0; i<n; i++) {
			h[i] = scan.nextInt();
			t[i] = Math.abs((T - h[i]*0.006)-a);
			if(ans==-1) {
				ans=i;
			}else if(t[i]<t[ans]) {
				ans=i;
			}
		}
		System.out.println(ans+1);
	}
}