import java.util.Scanner;

public class Main {

	public static void main(String args[]) {

		Scanner sc = new Scanner(System.in);

		int N = sc.nextInt();
		int T = sc.nextInt();
		int A = sc.nextInt();
		int[] H = new int[N];

		int near_i = 0;
		double temp = 0;
		double near_t = Integer.MAX_VALUE;
		for(int i=0;i<N;i++) {
			H[i] = sc.nextInt();
			temp = T - (H[i] * 0.006);

			if(Math.abs(temp - A) < Math.abs(near_t - A)) {
				near_t = temp;
				near_i = i;
			}
		}
		System.out.println(near_i+1);
	}
} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String args[]) {

		Scanner sc = new Scanner(System.in);

		int N = sc.nextInt();
		int T = sc.nextInt();
		int A = sc.nextInt();
		int[] H = new int[N];

		int near_i = 0;
		double temp = 0;
		double near_t = Integer.MAX_VALUE;
		for(int i=0;i<N;i++) {
			H[i] = sc.nextInt();
			temp = T - (H[i] * 0.006);

			if(Math.abs(temp - A) < Math.abs(near_t - A)) {
				near_t = temp;
				near_i = i;
			}
		}
		System.out.println(near_i+1);
	}
} Main public static void main(String args[]) {

		Scanner sc = new Scanner(System.in);

		int N = sc.nextInt();
		int T = sc.nextInt();
		int A = sc.nextInt();
		int[] H = new int[N];

		int near_i = 0;
		double temp = 0;
		double near_t = Integer.MAX_VALUE;
		for(int i=0;i<N;i++) {
			H[i] = sc.nextInt();
			temp = T - (H[i] * 0.006);

			if(Math.abs(temp - A) < Math.abs(near_t - A)) {
				near_t = temp;
				near_i = i;
			}
		}
		System.out.println(near_i+1);
	} main {

		Scanner sc = new Scanner(System.in);

		int N = sc.nextInt();
		int T = sc.nextInt();
		int A = sc.nextInt();
		int[] H = new int[N];

		int near_i = 0;
		double temp = 0;
		double near_t = Integer.MAX_VALUE;
		for(int i=0;i<N;i++) {
			H[i] = sc.nextInt();
			temp = T - (H[i] * 0.006);

			if(Math.abs(temp - A) < Math.abs(near_t - A)) {
				near_t = temp;
				near_i = i;
			}
		}
		System.out.println(near_i+1);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int N = sc.nextInt(); N sc.nextInt() sc.nextInt sc int T = sc.nextInt(); T sc.nextInt() sc.nextInt sc int A = sc.nextInt(); A sc.nextInt() sc.nextInt sc int[] H = new int[N]; H new int[N] N int near_i = 0; near_i 0 double temp = 0; temp 0 double near_t = Integer.MAX_VALUE; near_t Integer.MAX_VALUE Integer Integer.MAX_VALUE for(int i=0;i<N;i++) {
			H[i] = sc.nextInt();
			temp = T - (H[i] * 0.006);

			if(Math.abs(temp - A) < Math.abs(near_t - A)) {
				near_t = temp;
				near_i = i;
			}
		} int i=0; int i=0; i 0 i<N i N i++ i++ i {
			H[i] = sc.nextInt();
			temp = T - (H[i] * 0.006);

			if(Math.abs(temp - A) < Math.abs(near_t - A)) {
				near_t = temp;
				near_i = i;
			}
		} {
			H[i] = sc.nextInt();
			temp = T - (H[i] * 0.006);

			if(Math.abs(temp - A) < Math.abs(near_t - A)) {
				near_t = temp;
				near_i = i;
			}
		} H[i] = sc.nextInt() H[i] H i sc.nextInt() sc.nextInt sc temp = T - (H[i] * 0.006) temp T - (H[i] * 0.006) T (H[i] * 0.006) H[i] H i 0.006 if(Math.abs(temp - A) < Math.abs(near_t - A)) {
				near_t = temp;
				near_i = i;
			} Math.abs(temp - A) < Math.abs(near_t - A) Math.abs(temp - A) Math.abs Math temp - A temp A Math.abs(near_t - A) Math.abs Math near_t - A near_t A {
				near_t = temp;
				near_i = i;
			} near_t = temp near_t temp near_i = i near_i i System.out.println(near_i+1) System.out.println System.out System System.out near_i+1 near_i 1 String args[] args public class Main {

	public static void main(String args[]) {

		Scanner sc = new Scanner(System.in);

		int N = sc.nextInt();
		int T = sc.nextInt();
		int A = sc.nextInt();
		int[] H = new int[N];

		int near_i = 0;
		double temp = 0;
		double near_t = Integer.MAX_VALUE;
		for(int i=0;i<N;i++) {
			H[i] = sc.nextInt();
			temp = T - (H[i] * 0.006);

			if(Math.abs(temp - A) < Math.abs(near_t - A)) {
				near_t = temp;
				near_i = i;
			}
		}
		System.out.println(near_i+1);
	}
} public class Main {

	public static void main(String args[]) {

		Scanner sc = new Scanner(System.in);

		int N = sc.nextInt();
		int T = sc.nextInt();
		int A = sc.nextInt();
		int[] H = new int[N];

		int near_i = 0;
		double temp = 0;
		double near_t = Integer.MAX_VALUE;
		for(int i=0;i<N;i++) {
			H[i] = sc.nextInt();
			temp = T - (H[i] * 0.006);

			if(Math.abs(temp - A) < Math.abs(near_t - A)) {
				near_t = temp;
				near_i = i;
			}
		}
		System.out.println(near_i+1);
	}
} Main
import java.util.Scanner;

public class Main {

	public static void main(String args[]) {

		Scanner sc = new Scanner(System.in);

		int N = sc.nextInt();
		int T = sc.nextInt();
		int A = sc.nextInt();
		int[] H = new int[N];

		int near_i = 0;
		double temp = 0;
		double near_t = Integer.MAX_VALUE;
		for(int i=0;i<N;i++) {
			H[i] = sc.nextInt();
			temp = T - (H[i] * 0.006);

			if(Math.abs(temp - A) < Math.abs(near_t - A)) {
				near_t = temp;
				near_i = i;
			}
		}
		System.out.println(near_i+1);
	}
}
