import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		int N = in.nextInt();
		int T = in.nextInt();
		int A = in.nextInt();
		int h[] =new int[N];
		double t[] =new double[N];
		for (int i = 0; i < N; i++) {
			h[i]= in.nextInt();
			t[i]=Math.abs((T-h[i]*0.006)-A);
		}
		int minn=10000;
		double min=10000000;
		for (int i = 0; i < N; i++) {
			if(min>t[i]) {
				min=t[i];
				minn=i;
			}
		}
		System.out.println(minn+1);
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		int N = in.nextInt();
		int T = in.nextInt();
		int A = in.nextInt();
		int h[] =new int[N];
		double t[] =new double[N];
		for (int i = 0; i < N; i++) {
			h[i]= in.nextInt();
			t[i]=Math.abs((T-h[i]*0.006)-A);
		}
		int minn=10000;
		double min=10000000;
		for (int i = 0; i < N; i++) {
			if(min>t[i]) {
				min=t[i];
				minn=i;
			}
		}
		System.out.println(minn+1);
	}
} Main public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		int N = in.nextInt();
		int T = in.nextInt();
		int A = in.nextInt();
		int h[] =new int[N];
		double t[] =new double[N];
		for (int i = 0; i < N; i++) {
			h[i]= in.nextInt();
			t[i]=Math.abs((T-h[i]*0.006)-A);
		}
		int minn=10000;
		double min=10000000;
		for (int i = 0; i < N; i++) {
			if(min>t[i]) {
				min=t[i];
				minn=i;
			}
		}
		System.out.println(minn+1);
	} main {
		Scanner in = new Scanner(System.in);
		int N = in.nextInt();
		int T = in.nextInt();
		int A = in.nextInt();
		int h[] =new int[N];
		double t[] =new double[N];
		for (int i = 0; i < N; i++) {
			h[i]= in.nextInt();
			t[i]=Math.abs((T-h[i]*0.006)-A);
		}
		int minn=10000;
		double min=10000000;
		for (int i = 0; i < N; i++) {
			if(min>t[i]) {
				min=t[i];
				minn=i;
			}
		}
		System.out.println(minn+1);
	} Scanner in = new Scanner(System.in); in new Scanner(System.in) int N = in.nextInt(); N in.nextInt() in.nextInt in int T = in.nextInt(); T in.nextInt() in.nextInt in int A = in.nextInt(); A in.nextInt() in.nextInt in int h[] =new int[N]; h new int[N] N double t[] =new double[N]; t new double[N] N for (int i = 0; i < N; i++) {
			h[i]= in.nextInt();
			t[i]=Math.abs((T-h[i]*0.006)-A);
		} int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
			h[i]= in.nextInt();
			t[i]=Math.abs((T-h[i]*0.006)-A);
		} {
			h[i]= in.nextInt();
			t[i]=Math.abs((T-h[i]*0.006)-A);
		} h[i]= in.nextInt() h[i] h i in.nextInt() in.nextInt in 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 int minn=10000; minn 10000 double min=10000000; min 10000000 for (int i = 0; i < N; i++) {
			if(min>t[i]) {
				min=t[i];
				minn=i;
			}
		} int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
			if(min>t[i]) {
				min=t[i];
				minn=i;
			}
		} {
			if(min>t[i]) {
				min=t[i];
				minn=i;
			}
		} if(min>t[i]) {
				min=t[i];
				minn=i;
			} min>t[i] min t[i] t i {
				min=t[i];
				minn=i;
			} min=t[i] min t[i] t i minn=i minn i System.out.println(minn+1) System.out.println System.out System System.out minn+1 minn 1 String[] args args public class Main {
	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		int N = in.nextInt();
		int T = in.nextInt();
		int A = in.nextInt();
		int h[] =new int[N];
		double t[] =new double[N];
		for (int i = 0; i < N; i++) {
			h[i]= in.nextInt();
			t[i]=Math.abs((T-h[i]*0.006)-A);
		}
		int minn=10000;
		double min=10000000;
		for (int i = 0; i < N; i++) {
			if(min>t[i]) {
				min=t[i];
				minn=i;
			}
		}
		System.out.println(minn+1);
	}
} public class Main {
	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		int N = in.nextInt();
		int T = in.nextInt();
		int A = in.nextInt();
		int h[] =new int[N];
		double t[] =new double[N];
		for (int i = 0; i < N; i++) {
			h[i]= in.nextInt();
			t[i]=Math.abs((T-h[i]*0.006)-A);
		}
		int minn=10000;
		double min=10000000;
		for (int i = 0; i < N; i++) {
			if(min>t[i]) {
				min=t[i];
				minn=i;
			}
		}
		System.out.println(minn+1);
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		int N = in.nextInt();
		int T = in.nextInt();
		int A = in.nextInt();
		int h[] =new int[N];
		double t[] =new double[N];
		for (int i = 0; i < N; i++) {
			h[i]= in.nextInt();
			t[i]=Math.abs((T-h[i]*0.006)-A);
		}
		int minn=10000;
		double min=10000000;
		for (int i = 0; i < N; i++) {
			if(min>t[i]) {
				min=t[i];
				minn=i;
			}
		}
		System.out.println(minn+1);
	}
}
