import java.util.ArrayList;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		Double diff = Double.MAX_VALUE;
		Integer output = 1001;
		Integer N = new Integer(scanner.next());
		Double T = new Double(scanner.next());
		Double A = new Double(scanner.next());
		ArrayList<Double> input = new ArrayList<Double>();
		for(int i = 0; i < N ; i ++ ) {
			input.add(Double.parseDouble(scanner.next()));
			input.set(i, T-input.get(i)*0.006);
			if(diff > Math.abs(A-input.get(i))) {
				diff = Math.abs(A-input.get(i));
				output = i+1;
			}
		}
		System.out.println(output);
		scanner.close();
	}
}

/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