
import java.util.Arrays;
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int t = scan.nextInt();
		int goal = scan.nextInt();
		
		int[] height = new int[n];
		double ans = Integer.MAX_VALUE;
		int x = 0;
		for (int i = 0; i < height.length; i++) {
			double ave = t - scan.nextInt() * 0.006;
			if (ans > Math.abs(goal - ave)) {
				ans = Math.abs(goal - ave);
				x = i + 1;
			}
		}
		System.out.println(x);
	}
} import java.util.Arrays; Arrays java.util import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int t = scan.nextInt();
		int goal = scan.nextInt();
		
		int[] height = new int[n];
		double ans = Integer.MAX_VALUE;
		int x = 0;
		for (int i = 0; i < height.length; i++) {
			double ave = t - scan.nextInt() * 0.006;
			if (ans > Math.abs(goal - ave)) {
				ans = Math.abs(goal - ave);
				x = i + 1;
			}
		}
		System.out.println(x);
	}
} Main public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int t = scan.nextInt();
		int goal = scan.nextInt();
		
		int[] height = new int[n];
		double ans = Integer.MAX_VALUE;
		int x = 0;
		for (int i = 0; i < height.length; i++) {
			double ave = t - scan.nextInt() * 0.006;
			if (ans > Math.abs(goal - ave)) {
				ans = Math.abs(goal - ave);
				x = i + 1;
			}
		}
		System.out.println(x);
	} main {

		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int t = scan.nextInt();
		int goal = scan.nextInt();
		
		int[] height = new int[n];
		double ans = Integer.MAX_VALUE;
		int x = 0;
		for (int i = 0; i < height.length; i++) {
			double ave = t - scan.nextInt() * 0.006;
			if (ans > Math.abs(goal - ave)) {
				ans = Math.abs(goal - ave);
				x = i + 1;
			}
		}
		System.out.println(x);
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int n = scan.nextInt(); n scan.nextInt() scan.nextInt scan int t = scan.nextInt(); t scan.nextInt() scan.nextInt scan int goal = scan.nextInt(); goal scan.nextInt() scan.nextInt scan int[] height = new int[n]; height new int[n] n double ans = Integer.MAX_VALUE; ans Integer.MAX_VALUE Integer Integer.MAX_VALUE int x = 0; x 0 for (int i = 0; i < height.length; i++) {
			double ave = t - scan.nextInt() * 0.006;
			if (ans > Math.abs(goal - ave)) {
				ans = Math.abs(goal - ave);
				x = i + 1;
			}
		} int i = 0; int i = 0; i 0 i < height.length i height.length height height.length i++ i++ i {
			double ave = t - scan.nextInt() * 0.006;
			if (ans > Math.abs(goal - ave)) {
				ans = Math.abs(goal - ave);
				x = i + 1;
			}
		} {
			double ave = t - scan.nextInt() * 0.006;
			if (ans > Math.abs(goal - ave)) {
				ans = Math.abs(goal - ave);
				x = i + 1;
			}
		} double ave = t - scan.nextInt() * 0.006; ave t - scan.nextInt() * 0.006 t scan.nextInt() * 0.006 scan.nextInt() scan.nextInt scan 0.006 if (ans > Math.abs(goal - ave)) {
				ans = Math.abs(goal - ave);
				x = i + 1;
			} ans > Math.abs(goal - ave) ans Math.abs(goal - ave) Math.abs Math goal - ave goal ave {
				ans = Math.abs(goal - ave);
				x = i + 1;
			} ans = Math.abs(goal - ave) ans Math.abs(goal - ave) Math.abs Math goal - ave goal ave x = i + 1 x i + 1 i 1 System.out.println(x) System.out.println System.out System System.out x String[] args args public class Main {
	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int t = scan.nextInt();
		int goal = scan.nextInt();
		
		int[] height = new int[n];
		double ans = Integer.MAX_VALUE;
		int x = 0;
		for (int i = 0; i < height.length; i++) {
			double ave = t - scan.nextInt() * 0.006;
			if (ans > Math.abs(goal - ave)) {
				ans = Math.abs(goal - ave);
				x = i + 1;
			}
		}
		System.out.println(x);
	}
} public class Main {
	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int t = scan.nextInt();
		int goal = scan.nextInt();
		
		int[] height = new int[n];
		double ans = Integer.MAX_VALUE;
		int x = 0;
		for (int i = 0; i < height.length; i++) {
			double ave = t - scan.nextInt() * 0.006;
			if (ans > Math.abs(goal - ave)) {
				ans = Math.abs(goal - ave);
				x = i + 1;
			}
		}
		System.out.println(x);
	}
} Main

import java.util.Arrays;
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int t = scan.nextInt();
		int goal = scan.nextInt();
		
		int[] height = new int[n];
		double ans = Integer.MAX_VALUE;
		int x = 0;
		for (int i = 0; i < height.length; i++) {
			double ave = t - scan.nextInt() * 0.006;
			if (ans > Math.abs(goal - ave)) {
				ans = Math.abs(goal - ave);
				x = i + 1;
			}
		}
		System.out.println(x);
	}
}