import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = Integer.parseInt(sc.next());
		int T = Integer.parseInt(sc.next());
		int A = Integer.parseInt(sc.next());

		double diff = Double.MAX_VALUE;
		int num = -1;

		for (int i=0; i<N; i++){
			int h = Integer.parseInt(sc.next());
			double h_diff = Math.abs((T - h * 0.006) - A);

			if (h_diff < diff){
				diff = h_diff;
				num = i;
			}
		}
		System.out.println(num+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 = Integer.parseInt(sc.next());
		int T = Integer.parseInt(sc.next());
		int A = Integer.parseInt(sc.next());

		double diff = Double.MAX_VALUE;
		int num = -1;

		for (int i=0; i<N; i++){
			int h = Integer.parseInt(sc.next());
			double h_diff = Math.abs((T - h * 0.006) - A);

			if (h_diff < diff){
				diff = h_diff;
				num = i;
			}
		}
		System.out.println(num+1);
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = Integer.parseInt(sc.next());
		int T = Integer.parseInt(sc.next());
		int A = Integer.parseInt(sc.next());

		double diff = Double.MAX_VALUE;
		int num = -1;

		for (int i=0; i<N; i++){
			int h = Integer.parseInt(sc.next());
			double h_diff = Math.abs((T - h * 0.006) - A);

			if (h_diff < diff){
				diff = h_diff;
				num = i;
			}
		}
		System.out.println(num+1);
	} main {
		Scanner sc = new Scanner(System.in);
		int N = Integer.parseInt(sc.next());
		int T = Integer.parseInt(sc.next());
		int A = Integer.parseInt(sc.next());

		double diff = Double.MAX_VALUE;
		int num = -1;

		for (int i=0; i<N; i++){
			int h = Integer.parseInt(sc.next());
			double h_diff = Math.abs((T - h * 0.006) - A);

			if (h_diff < diff){
				diff = h_diff;
				num = i;
			}
		}
		System.out.println(num+1);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int N = Integer.parseInt(sc.next()); N Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int T = Integer.parseInt(sc.next()); T Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int A = Integer.parseInt(sc.next()); A Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc double diff = Double.MAX_VALUE; diff Double.MAX_VALUE Double Double.MAX_VALUE int num = -1; num -1 1 for (int i=0; i<N; i++){
			int h = Integer.parseInt(sc.next());
			double h_diff = Math.abs((T - h * 0.006) - A);

			if (h_diff < diff){
				diff = h_diff;
				num = i;
			}
		} int i=0; int i=0; i 0 i<N i N i++ i++ i {
			int h = Integer.parseInt(sc.next());
			double h_diff = Math.abs((T - h * 0.006) - A);

			if (h_diff < diff){
				diff = h_diff;
				num = i;
			}
		} {
			int h = Integer.parseInt(sc.next());
			double h_diff = Math.abs((T - h * 0.006) - A);

			if (h_diff < diff){
				diff = h_diff;
				num = i;
			}
		} int h = Integer.parseInt(sc.next()); h Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc double h_diff = Math.abs((T - h * 0.006) - A); h_diff Math.abs((T - h * 0.006) - A) Math.abs Math (T - h * 0.006) - A (T - h * 0.006) T h * 0.006 h 0.006 A if (h_diff < diff){
				diff = h_diff;
				num = i;
			} h_diff < diff h_diff diff {
				diff = h_diff;
				num = i;
			} diff = h_diff diff h_diff num = i num i System.out.println(num+1) System.out.println System.out System System.out num+1 num 1 String[] args args public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = Integer.parseInt(sc.next());
		int T = Integer.parseInt(sc.next());
		int A = Integer.parseInt(sc.next());

		double diff = Double.MAX_VALUE;
		int num = -1;

		for (int i=0; i<N; i++){
			int h = Integer.parseInt(sc.next());
			double h_diff = Math.abs((T - h * 0.006) - A);

			if (h_diff < diff){
				diff = h_diff;
				num = i;
			}
		}
		System.out.println(num+1);
	}
} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = Integer.parseInt(sc.next());
		int T = Integer.parseInt(sc.next());
		int A = Integer.parseInt(sc.next());

		double diff = Double.MAX_VALUE;
		int num = -1;

		for (int i=0; i<N; i++){
			int h = Integer.parseInt(sc.next());
			double h_diff = Math.abs((T - h * 0.006) - A);

			if (h_diff < diff){
				diff = h_diff;
				num = i;
			}
		}
		System.out.println(num+1);
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = Integer.parseInt(sc.next());
		int T = Integer.parseInt(sc.next());
		int A = Integer.parseInt(sc.next());

		double diff = Double.MAX_VALUE;
		int num = -1;

		for (int i=0; i<N; i++){
			int h = Integer.parseInt(sc.next());
			double h_diff = Math.abs((T - h * 0.006) - A);

			if (h_diff < diff){
				diff = h_diff;
				num = i;
			}
		}
		System.out.println(num+1);
	}
}