import java.util.Scanner;
public class Main {

	public static void main(String[] args) {
		Scanner stdIn = new Scanner(System.in);
		int N = stdIn.nextInt();
		int T = stdIn.nextInt();
		int A = stdIn.nextInt();
		double[] H = new double[N];
		H[0] = Math.abs(T - stdIn.nextDouble()*0.006 - A);
		double min = H[0];
		int ans = 0;
		for(int i = 1; i < N; i++) {
			H[i] = Math.abs(T - stdIn.nextDouble()*0.006 - A);
			if(H[i] < min) {
				min = H[i];
				ans = i;
			}
		}
		System.out.println(ans+1);

	}

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

	public static void main(String[] args) {
		Scanner stdIn = new Scanner(System.in);
		int N = stdIn.nextInt();
		int T = stdIn.nextInt();
		int A = stdIn.nextInt();
		double[] H = new double[N];
		H[0] = Math.abs(T - stdIn.nextDouble()*0.006 - A);
		double min = H[0];
		int ans = 0;
		for(int i = 1; i < N; i++) {
			H[i] = Math.abs(T - stdIn.nextDouble()*0.006 - A);
			if(H[i] < min) {
				min = H[i];
				ans = i;
			}
		}
		System.out.println(ans+1);

	}

} Main public static void main(String[] args) {
		Scanner stdIn = new Scanner(System.in);
		int N = stdIn.nextInt();
		int T = stdIn.nextInt();
		int A = stdIn.nextInt();
		double[] H = new double[N];
		H[0] = Math.abs(T - stdIn.nextDouble()*0.006 - A);
		double min = H[0];
		int ans = 0;
		for(int i = 1; i < N; i++) {
			H[i] = Math.abs(T - stdIn.nextDouble()*0.006 - A);
			if(H[i] < min) {
				min = H[i];
				ans = i;
			}
		}
		System.out.println(ans+1);

	} main {
		Scanner stdIn = new Scanner(System.in);
		int N = stdIn.nextInt();
		int T = stdIn.nextInt();
		int A = stdIn.nextInt();
		double[] H = new double[N];
		H[0] = Math.abs(T - stdIn.nextDouble()*0.006 - A);
		double min = H[0];
		int ans = 0;
		for(int i = 1; i < N; i++) {
			H[i] = Math.abs(T - stdIn.nextDouble()*0.006 - A);
			if(H[i] < min) {
				min = H[i];
				ans = i;
			}
		}
		System.out.println(ans+1);

	} Scanner stdIn = new Scanner(System.in); stdIn new Scanner(System.in) int N = stdIn.nextInt(); N stdIn.nextInt() stdIn.nextInt stdIn int T = stdIn.nextInt(); T stdIn.nextInt() stdIn.nextInt stdIn int A = stdIn.nextInt(); A stdIn.nextInt() stdIn.nextInt stdIn double[] H = new double[N]; H new double[N] N H[0] = Math.abs(T - stdIn.nextDouble()*0.006 - A) H[0] H 0 Math.abs(T - stdIn.nextDouble()*0.006 - A) Math.abs Math T - stdIn.nextDouble()*0.006 - A T - stdIn.nextDouble()*0.006 - A T stdIn.nextDouble()*0.006 stdIn.nextDouble() stdIn.nextDouble stdIn 0.006 A double min = H[0]; min H[0] H 0 int ans = 0; ans 0 for(int i = 1; i < N; i++) {
			H[i] = Math.abs(T - stdIn.nextDouble()*0.006 - A);
			if(H[i] < min) {
				min = H[i];
				ans = i;
			}
		} int i = 1; int i = 1; i 1 i < N i N i++ i++ i {
			H[i] = Math.abs(T - stdIn.nextDouble()*0.006 - A);
			if(H[i] < min) {
				min = H[i];
				ans = i;
			}
		} {
			H[i] = Math.abs(T - stdIn.nextDouble()*0.006 - A);
			if(H[i] < min) {
				min = H[i];
				ans = i;
			}
		} H[i] = Math.abs(T - stdIn.nextDouble()*0.006 - A) H[i] H i Math.abs(T - stdIn.nextDouble()*0.006 - A) Math.abs Math T - stdIn.nextDouble()*0.006 - A T - stdIn.nextDouble()*0.006 - A T stdIn.nextDouble()*0.006 stdIn.nextDouble() stdIn.nextDouble stdIn 0.006 A if(H[i] < min) {
				min = H[i];
				ans = i;
			} H[i] < min H[i] H i min {
				min = H[i];
				ans = i;
			} min = H[i] min H[i] H i ans = i ans i System.out.println(ans+1) System.out.println System.out System System.out ans+1 ans 1 String[] args args public class Main {

	public static void main(String[] args) {
		Scanner stdIn = new Scanner(System.in);
		int N = stdIn.nextInt();
		int T = stdIn.nextInt();
		int A = stdIn.nextInt();
		double[] H = new double[N];
		H[0] = Math.abs(T - stdIn.nextDouble()*0.006 - A);
		double min = H[0];
		int ans = 0;
		for(int i = 1; i < N; i++) {
			H[i] = Math.abs(T - stdIn.nextDouble()*0.006 - A);
			if(H[i] < min) {
				min = H[i];
				ans = i;
			}
		}
		System.out.println(ans+1);

	}

} public class Main {

	public static void main(String[] args) {
		Scanner stdIn = new Scanner(System.in);
		int N = stdIn.nextInt();
		int T = stdIn.nextInt();
		int A = stdIn.nextInt();
		double[] H = new double[N];
		H[0] = Math.abs(T - stdIn.nextDouble()*0.006 - A);
		double min = H[0];
		int ans = 0;
		for(int i = 1; i < N; i++) {
			H[i] = Math.abs(T - stdIn.nextDouble()*0.006 - A);
			if(H[i] < min) {
				min = H[i];
				ans = i;
			}
		}
		System.out.println(ans+1);

	}

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

	public static void main(String[] args) {
		Scanner stdIn = new Scanner(System.in);
		int N = stdIn.nextInt();
		int T = stdIn.nextInt();
		int A = stdIn.nextInt();
		double[] H = new double[N];
		H[0] = Math.abs(T - stdIn.nextDouble()*0.006 - A);
		double min = H[0];
		int ans = 0;
		for(int i = 1; i < N; i++) {
			H[i] = Math.abs(T - stdIn.nextDouble()*0.006 - A);
			if(H[i] < min) {
				min = H[i];
				ans = i;
			}
		}
		System.out.println(ans+1);

	}

}