import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int T = sc.nextInt();
		int A = sc.nextInt();
		int res = 1;
		double memo = 0;

		for(int i=0; i<N; i++) {
			int H = sc.nextInt();
			double temp = (T - H * 0.006) - A;
			if(temp < 0) {
				temp *= -1;
			}
			if(i == 0) {
				memo = temp +1;
			}
			if(memo > temp) {
				memo = temp;
				res = i +1;
			}
		}

		System.out.println(res);
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int T = sc.nextInt();
		int A = sc.nextInt();
		int res = 1;
		double memo = 0;

		for(int i=0; i<N; i++) {
			int H = sc.nextInt();
			double temp = (T - H * 0.006) - A;
			if(temp < 0) {
				temp *= -1;
			}
			if(i == 0) {
				memo = temp +1;
			}
			if(memo > temp) {
				memo = temp;
				res = i +1;
			}
		}

		System.out.println(res);
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int T = sc.nextInt();
		int A = sc.nextInt();
		int res = 1;
		double memo = 0;

		for(int i=0; i<N; i++) {
			int H = sc.nextInt();
			double temp = (T - H * 0.006) - A;
			if(temp < 0) {
				temp *= -1;
			}
			if(i == 0) {
				memo = temp +1;
			}
			if(memo > temp) {
				memo = temp;
				res = i +1;
			}
		}

		System.out.println(res);
	} main {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int T = sc.nextInt();
		int A = sc.nextInt();
		int res = 1;
		double memo = 0;

		for(int i=0; i<N; i++) {
			int H = sc.nextInt();
			double temp = (T - H * 0.006) - A;
			if(temp < 0) {
				temp *= -1;
			}
			if(i == 0) {
				memo = temp +1;
			}
			if(memo > temp) {
				memo = temp;
				res = i +1;
			}
		}

		System.out.println(res);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int N = sc.nextInt(); N sc.nextInt() sc.nextInt sc int T = sc.nextInt(); T sc.nextInt() sc.nextInt sc int A = sc.nextInt(); A sc.nextInt() sc.nextInt sc int res = 1; res 1 double memo = 0; memo 0 for(int i=0; i<N; i++) {
			int H = sc.nextInt();
			double temp = (T - H * 0.006) - A;
			if(temp < 0) {
				temp *= -1;
			}
			if(i == 0) {
				memo = temp +1;
			}
			if(memo > temp) {
				memo = temp;
				res = i +1;
			}
		} int i=0; int i=0; i 0 i<N i N i++ i++ i {
			int H = sc.nextInt();
			double temp = (T - H * 0.006) - A;
			if(temp < 0) {
				temp *= -1;
			}
			if(i == 0) {
				memo = temp +1;
			}
			if(memo > temp) {
				memo = temp;
				res = i +1;
			}
		} {
			int H = sc.nextInt();
			double temp = (T - H * 0.006) - A;
			if(temp < 0) {
				temp *= -1;
			}
			if(i == 0) {
				memo = temp +1;
			}
			if(memo > temp) {
				memo = temp;
				res = i +1;
			}
		} int H = sc.nextInt(); H sc.nextInt() sc.nextInt sc double temp = (T - H * 0.006) - A; temp (T - H * 0.006) - A (T - H * 0.006) T H * 0.006 H 0.006 A if(temp < 0) {
				temp *= -1;
			} temp < 0 temp 0 {
				temp *= -1;
			} temp *= -1 temp -1 1 if(i == 0) {
				memo = temp +1;
			} i == 0 i 0 {
				memo = temp +1;
			} memo = temp +1 memo temp +1 temp 1 if(memo > temp) {
				memo = temp;
				res = i +1;
			} memo > temp memo temp {
				memo = temp;
				res = i +1;
			} memo = temp memo temp res = i +1 res i +1 i 1 System.out.println(res) System.out.println System.out System System.out res String[] args args public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int T = sc.nextInt();
		int A = sc.nextInt();
		int res = 1;
		double memo = 0;

		for(int i=0; i<N; i++) {
			int H = sc.nextInt();
			double temp = (T - H * 0.006) - A;
			if(temp < 0) {
				temp *= -1;
			}
			if(i == 0) {
				memo = temp +1;
			}
			if(memo > temp) {
				memo = temp;
				res = i +1;
			}
		}

		System.out.println(res);
	}
} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int T = sc.nextInt();
		int A = sc.nextInt();
		int res = 1;
		double memo = 0;

		for(int i=0; i<N; i++) {
			int H = sc.nextInt();
			double temp = (T - H * 0.006) - A;
			if(temp < 0) {
				temp *= -1;
			}
			if(i == 0) {
				memo = temp +1;
			}
			if(memo > temp) {
				memo = temp;
				res = i +1;
			}
		}

		System.out.println(res);
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int T = sc.nextInt();
		int A = sc.nextInt();
		int res = 1;
		double memo = 0;

		for(int i=0; i<N; i++) {
			int H = sc.nextInt();
			double temp = (T - H * 0.006) - A;
			if(temp < 0) {
				temp *= -1;
			}
			if(i == 0) {
				memo = temp +1;
			}
			if(memo > temp) {
				memo = temp;
				res = i +1;
			}
		}

		System.out.println(res);
	}
}
