import java.util.Scanner;
public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int givenNumber = scanner.nextInt();
        int baseTmp = scanner.nextInt();
        int preferableTmp = scanner.nextInt();
        int[] location = new int[givenNumber];
        for(int i=0; i<givenNumber; i++) {
            location[i] = scanner.nextInt();
        }
        double tmpDif = 0;
        double currentDif = 0;
        int targetIndex = 0;
        for(int j=0; j<location.length; j++) {
            tmpDif = Math.abs((baseTmp - location[j] * 0.006) - preferableTmp);
            if(j == 0) {
                targetIndex = j;
                currentDif = tmpDif;
            }
            if(currentDif > tmpDif) {
                targetIndex = j;
                currentDif = tmpDif;
            }
        }
        System.out.println(targetIndex+1);
    }
}

/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