import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner scanner = new Scanner(System.in);
		
		final double coutner = scanner.nextInt();
		final double t = scanner.nextInt();
		final double a = scanner.nextInt();
		
		double result = 1000000000;
		int r = 0;
		
		for(int i = 0;i<coutner;i++) {
			double d;
			if((d = Math.abs(t - scanner.nextInt() * 0.006 - a)) < result) {
				result = d;
				r =  i + 1;
			}
		}
		System.out.println(r);
		
	}

} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner scanner = new Scanner(System.in);
		
		final double coutner = scanner.nextInt();
		final double t = scanner.nextInt();
		final double a = scanner.nextInt();
		
		double result = 1000000000;
		int r = 0;
		
		for(int i = 0;i<coutner;i++) {
			double d;
			if((d = Math.abs(t - scanner.nextInt() * 0.006 - a)) < result) {
				result = d;
				r =  i + 1;
			}
		}
		System.out.println(r);
		
	}

} Main public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner scanner = new Scanner(System.in);
		
		final double coutner = scanner.nextInt();
		final double t = scanner.nextInt();
		final double a = scanner.nextInt();
		
		double result = 1000000000;
		int r = 0;
		
		for(int i = 0;i<coutner;i++) {
			double d;
			if((d = Math.abs(t - scanner.nextInt() * 0.006 - a)) < result) {
				result = d;
				r =  i + 1;
			}
		}
		System.out.println(r);
		
	} main {
		// TODO Auto-generated method stub
		Scanner scanner = new Scanner(System.in);
		
		final double coutner = scanner.nextInt();
		final double t = scanner.nextInt();
		final double a = scanner.nextInt();
		
		double result = 1000000000;
		int r = 0;
		
		for(int i = 0;i<coutner;i++) {
			double d;
			if((d = Math.abs(t - scanner.nextInt() * 0.006 - a)) < result) {
				result = d;
				r =  i + 1;
			}
		}
		System.out.println(r);
		
	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) final double coutner = scanner.nextInt(); coutner scanner.nextInt() scanner.nextInt scanner final double t = scanner.nextInt(); t scanner.nextInt() scanner.nextInt scanner final double a = scanner.nextInt(); a scanner.nextInt() scanner.nextInt scanner double result = 1000000000; result 1000000000 int r = 0; r 0 for(int i = 0;i<coutner;i++) {
			double d;
			if((d = Math.abs(t - scanner.nextInt() * 0.006 - a)) < result) {
				result = d;
				r =  i + 1;
			}
		} int i = 0; int i = 0; i 0 i<coutner i coutner i++ i++ i {
			double d;
			if((d = Math.abs(t - scanner.nextInt() * 0.006 - a)) < result) {
				result = d;
				r =  i + 1;
			}
		} {
			double d;
			if((d = Math.abs(t - scanner.nextInt() * 0.006 - a)) < result) {
				result = d;
				r =  i + 1;
			}
		} double d; d if((d = Math.abs(t - scanner.nextInt() * 0.006 - a)) < result) {
				result = d;
				r =  i + 1;
			} (d = Math.abs(t - scanner.nextInt() * 0.006 - a)) < result (d = Math.abs(t - scanner.nextInt() * 0.006 - a)) d Math.abs(t - scanner.nextInt() * 0.006 - a) Math.abs Math t - scanner.nextInt() * 0.006 - a t - scanner.nextInt() * 0.006 - a t scanner.nextInt() * 0.006 scanner.nextInt() scanner.nextInt scanner 0.006 a result {
				result = d;
				r =  i + 1;
			} result = d result d r =  i + 1 r i + 1 i 1 System.out.println(r) System.out.println System.out System System.out r String[] args args public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner scanner = new Scanner(System.in);
		
		final double coutner = scanner.nextInt();
		final double t = scanner.nextInt();
		final double a = scanner.nextInt();
		
		double result = 1000000000;
		int r = 0;
		
		for(int i = 0;i<coutner;i++) {
			double d;
			if((d = Math.abs(t - scanner.nextInt() * 0.006 - a)) < result) {
				result = d;
				r =  i + 1;
			}
		}
		System.out.println(r);
		
	}

} public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner scanner = new Scanner(System.in);
		
		final double coutner = scanner.nextInt();
		final double t = scanner.nextInt();
		final double a = scanner.nextInt();
		
		double result = 1000000000;
		int r = 0;
		
		for(int i = 0;i<coutner;i++) {
			double d;
			if((d = Math.abs(t - scanner.nextInt() * 0.006 - a)) < result) {
				result = d;
				r =  i + 1;
			}
		}
		System.out.println(r);
		
	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner scanner = new Scanner(System.in);
		
		final double coutner = scanner.nextInt();
		final double t = scanner.nextInt();
		final double a = scanner.nextInt();
		
		double result = 1000000000;
		int r = 0;
		
		for(int i = 0;i<coutner;i++) {
			double d;
			if((d = Math.abs(t - scanner.nextInt() * 0.006 - a)) < result) {
				result = d;
				r =  i + 1;
			}
		}
		System.out.println(r);
		
	}

}