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();
		double ave = Double.MAX_VALUE;
		double temp;
		int n = 0;
		for (int i = 1; i <= N; i++) {
			temp = Math.abs(T - sc.nextInt() * 0.006 - A);
			if (temp < ave) {
				ave = temp;
				n = i;
			}
		}
		// 出力
		System.out.println(n);
	}
} 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();
		double ave = Double.MAX_VALUE;
		double temp;
		int n = 0;
		for (int i = 1; i <= N; i++) {
			temp = Math.abs(T - sc.nextInt() * 0.006 - A);
			if (temp < ave) {
				ave = temp;
				n = i;
			}
		}
		// 出力
		System.out.println(n);
	}
} 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();
		double ave = Double.MAX_VALUE;
		double temp;
		int n = 0;
		for (int i = 1; i <= N; i++) {
			temp = Math.abs(T - sc.nextInt() * 0.006 - A);
			if (temp < ave) {
				ave = temp;
				n = i;
			}
		}
		// 出力
		System.out.println(n);
	} main {
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		int N = sc.nextInt();
		int T = sc.nextInt();
		int A = sc.nextInt();
		double ave = Double.MAX_VALUE;
		double temp;
		int n = 0;
		for (int i = 1; i <= N; i++) {
			temp = Math.abs(T - sc.nextInt() * 0.006 - A);
			if (temp < ave) {
				ave = temp;
				n = i;
			}
		}
		// 出力
		System.out.println(n);
	} 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 double ave = Double.MAX_VALUE; ave Double.MAX_VALUE Double Double.MAX_VALUE double temp; temp int n = 0; n 0 for (int i = 1; i <= N; i++) {
			temp = Math.abs(T - sc.nextInt() * 0.006 - A);
			if (temp < ave) {
				ave = temp;
				n = i;
			}
		} int i = 1; int i = 1; i 1 i <= N i N i++ i++ i {
			temp = Math.abs(T - sc.nextInt() * 0.006 - A);
			if (temp < ave) {
				ave = temp;
				n = i;
			}
		} {
			temp = Math.abs(T - sc.nextInt() * 0.006 - A);
			if (temp < ave) {
				ave = temp;
				n = i;
			}
		} temp = Math.abs(T - sc.nextInt() * 0.006 - A) temp Math.abs(T - sc.nextInt() * 0.006 - A) Math.abs Math T - sc.nextInt() * 0.006 - A T - sc.nextInt() * 0.006 - A T sc.nextInt() * 0.006 sc.nextInt() sc.nextInt sc 0.006 A if (temp < ave) {
				ave = temp;
				n = i;
			} temp < ave temp ave {
				ave = temp;
				n = i;
			} ave = temp ave temp n = i n i System.out.println(n) System.out.println System.out System System.out n 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();
		double ave = Double.MAX_VALUE;
		double temp;
		int n = 0;
		for (int i = 1; i <= N; i++) {
			temp = Math.abs(T - sc.nextInt() * 0.006 - A);
			if (temp < ave) {
				ave = temp;
				n = i;
			}
		}
		// 出力
		System.out.println(n);
	}
} 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();
		double ave = Double.MAX_VALUE;
		double temp;
		int n = 0;
		for (int i = 1; i <= N; i++) {
			temp = Math.abs(T - sc.nextInt() * 0.006 - A);
			if (temp < ave) {
				ave = temp;
				n = i;
			}
		}
		// 出力
		System.out.println(n);
	}
} 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();
		double ave = Double.MAX_VALUE;
		double temp;
		int n = 0;
		for (int i = 1; i <= N; i++) {
			temp = Math.abs(T - sc.nextInt() * 0.006 - A);
			if (temp < ave) {
				ave = temp;
				n = i;
			}
		}
		// 出力
		System.out.println(n);
	}
}