import java.util.Scanner;
import java.lang.Math;

class Main {
	public static void main(String[] args) {
		Scanner stdIn = new Scanner(System.in);
		int N = stdIn.nextInt();
		double T = stdIn.nextInt();
		double A = stdIn.nextInt();
		double[] H = new double[N];
		int h;
		for (int i = 0; i < N; i++) {
			h = stdIn.nextInt();
			H[i] = Math.abs(T - h * 0.006 - A);
		}
		double a = H[0];
		int b = 0;
		for (int j = 1; j < N; j++) {
			if (a > H[j]) {
				a = H[j];
				b = j;
			}
		}
		System.out.println(b + 1);
	}
} import java.util.Scanner; Scanner java.util import java.lang.Math; Math java.lang class Main {
	public static void main(String[] args) {
		Scanner stdIn = new Scanner(System.in);
		int N = stdIn.nextInt();
		double T = stdIn.nextInt();
		double A = stdIn.nextInt();
		double[] H = new double[N];
		int h;
		for (int i = 0; i < N; i++) {
			h = stdIn.nextInt();
			H[i] = Math.abs(T - h * 0.006 - A);
		}
		double a = H[0];
		int b = 0;
		for (int j = 1; j < N; j++) {
			if (a > H[j]) {
				a = H[j];
				b = j;
			}
		}
		System.out.println(b + 1);
	}
} Main public static void main(String[] args) {
		Scanner stdIn = new Scanner(System.in);
		int N = stdIn.nextInt();
		double T = stdIn.nextInt();
		double A = stdIn.nextInt();
		double[] H = new double[N];
		int h;
		for (int i = 0; i < N; i++) {
			h = stdIn.nextInt();
			H[i] = Math.abs(T - h * 0.006 - A);
		}
		double a = H[0];
		int b = 0;
		for (int j = 1; j < N; j++) {
			if (a > H[j]) {
				a = H[j];
				b = j;
			}
		}
		System.out.println(b + 1);
	} main {
		Scanner stdIn = new Scanner(System.in);
		int N = stdIn.nextInt();
		double T = stdIn.nextInt();
		double A = stdIn.nextInt();
		double[] H = new double[N];
		int h;
		for (int i = 0; i < N; i++) {
			h = stdIn.nextInt();
			H[i] = Math.abs(T - h * 0.006 - A);
		}
		double a = H[0];
		int b = 0;
		for (int j = 1; j < N; j++) {
			if (a > H[j]) {
				a = H[j];
				b = j;
			}
		}
		System.out.println(b + 1);
	} Scanner stdIn = new Scanner(System.in); stdIn new Scanner(System.in) int N = stdIn.nextInt(); N stdIn.nextInt() stdIn.nextInt stdIn double T = stdIn.nextInt(); T stdIn.nextInt() stdIn.nextInt stdIn double A = stdIn.nextInt(); A stdIn.nextInt() stdIn.nextInt stdIn double[] H = new double[N]; H new double[N] N int h; h for (int i = 0; i < N; i++) {
			h = stdIn.nextInt();
			H[i] = Math.abs(T - h * 0.006 - A);
		} int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
			h = stdIn.nextInt();
			H[i] = Math.abs(T - h * 0.006 - A);
		} {
			h = stdIn.nextInt();
			H[i] = Math.abs(T - h * 0.006 - A);
		} h = stdIn.nextInt() h stdIn.nextInt() stdIn.nextInt stdIn H[i] = Math.abs(T - h * 0.006 - A) H[i] H i Math.abs(T - h * 0.006 - A) Math.abs Math T - h * 0.006 - A T - h * 0.006 - A T h * 0.006 h 0.006 A double a = H[0]; a H[0] H 0 int b = 0; b 0 for (int j = 1; j < N; j++) {
			if (a > H[j]) {
				a = H[j];
				b = j;
			}
		} int j = 1; int j = 1; j 1 j < N j N j++ j++ j {
			if (a > H[j]) {
				a = H[j];
				b = j;
			}
		} {
			if (a > H[j]) {
				a = H[j];
				b = j;
			}
		} if (a > H[j]) {
				a = H[j];
				b = j;
			} a > H[j] a H[j] H j {
				a = H[j];
				b = j;
			} a = H[j] a H[j] H j b = j b j System.out.println(b + 1) System.out.println System.out System System.out b + 1 b 1 String[] args args
import java.util.Scanner;
import java.lang.Math;

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