
import java.math.*;
import java.util.*;

public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		try (Scanner sc = new Scanner(System.in)) {
			int placeCount = sc.nextInt();
			int t = sc.nextInt();
			int target = sc.nextInt();

			int[] places = new int[placeCount];
			int i = 0;
			while (i < placeCount) {
				places[i] = sc.nextInt();
				i++;
			}

			BigDecimal abs = null;
			int j = 1;
			int result = 0;
			for (int p : places) {
				BigDecimal val = getValue(t, p);

				BigDecimal wk = val.subtract(BigDecimal.valueOf(target));
				if (abs == null || abs.compareTo(wk.abs()) >= 0) {
					abs = wk.abs();
					result = j;
				}
				j++;
			}
			System.out.println(result);
		}
	}

	public static BigDecimal getValue(int t, int x) {
		return BigDecimal.valueOf(t)
			.subtract(BigDecimal.valueOf(x).multiply(BigDecimal.valueOf(0.006)));
	}
}

/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