import java.util.Scanner;

public class Main {
	private static Scanner sc;

	public static void main(String[] args) {
		sc = new Scanner(System.in);
		int n = sc.nextInt();
		int t = sc.nextInt();
		int a = sc.nextInt();
		int[] h = new int[n];
		double[] x = new double[n];
		for(int i = 0; i < n; i++) {
			h[i] = sc.nextInt();
			x[i] = t-h[i]*0.006;
		}
		System.out.println(palace(x,a));

	}

	public static int palace(double[] x, int a) {
		double tmp = Math.abs(a - x[0]);
		int tmp2 = 1;
		for(int i = 1; i < x.length; i++) {
			if(Math.abs(a - x[i]) < tmp) {
				tmp = Math.abs(a - x[i]);
				tmp2 = i+1;
			}
		}
		return tmp2;
	}
}
/tmp/hf-datasets-cache/medium/datasets/42704881117311-config-parquet-and-info-qiankunmu-Project_CodeNet-896c9d36/hub/datasets--qiankunmu--Project_CodeNet_Python800_and_Java250/snapshots/c899fde44a77ba1cc14973ed3de064e4ff3aadc7/Project_CodeNet_Java250.tar.gz