import java.util.Scanner;

public class Main {
	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int t = sc.nextInt();
		int a = sc.nextInt();
		int[] h = new int[n];
		for (int i = 0; i < n; i++) {
			h[i] = sc.nextInt();
		}
		sc.close();

		int ans = 0;
		double min = 100000000;
		for (int i = 0; i < n; i++) {
			double d = Math.abs(t - h[i] * 0.006 - a);
			if (d < min) {
				ans = i;
				min = d;
			}
		}
		System.out.println(ans + 1);
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int t = sc.nextInt();
		int a = sc.nextInt();
		int[] h = new int[n];
		for (int i = 0; i < n; i++) {
			h[i] = sc.nextInt();
		}
		sc.close();

		int ans = 0;
		double min = 100000000;
		for (int i = 0; i < n; i++) {
			double d = Math.abs(t - h[i] * 0.006 - a);
			if (d < min) {
				ans = i;
				min = d;
			}
		}
		System.out.println(ans + 1);
	}
} Main public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int t = sc.nextInt();
		int a = sc.nextInt();
		int[] h = new int[n];
		for (int i = 0; i < n; i++) {
			h[i] = sc.nextInt();
		}
		sc.close();

		int ans = 0;
		double min = 100000000;
		for (int i = 0; i < n; i++) {
			double d = Math.abs(t - h[i] * 0.006 - a);
			if (d < min) {
				ans = i;
				min = d;
			}
		}
		System.out.println(ans + 1);
	} main {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int t = sc.nextInt();
		int a = sc.nextInt();
		int[] h = new int[n];
		for (int i = 0; i < n; i++) {
			h[i] = sc.nextInt();
		}
		sc.close();

		int ans = 0;
		double min = 100000000;
		for (int i = 0; i < n; i++) {
			double d = Math.abs(t - h[i] * 0.006 - a);
			if (d < min) {
				ans = i;
				min = d;
			}
		}
		System.out.println(ans + 1);
	} 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[] h = new int[n]; h new int[n] n for (int i = 0; i < n; i++) {
			h[i] = sc.nextInt();
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			h[i] = sc.nextInt();
		} {
			h[i] = sc.nextInt();
		} h[i] = sc.nextInt() h[i] h i sc.nextInt() sc.nextInt sc sc.close() sc.close sc int ans = 0; ans 0 double min = 100000000; min 100000000 for (int i = 0; i < n; i++) {
			double d = Math.abs(t - h[i] * 0.006 - a);
			if (d < min) {
				ans = i;
				min = d;
			}
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			double d = Math.abs(t - h[i] * 0.006 - a);
			if (d < min) {
				ans = i;
				min = d;
			}
		} {
			double d = Math.abs(t - h[i] * 0.006 - a);
			if (d < min) {
				ans = i;
				min = d;
			}
		} double d = Math.abs(t - h[i] * 0.006 - a); d Math.abs(t - h[i] * 0.006 - a) Math.abs Math t - h[i] * 0.006 - a t - h[i] * 0.006 - a t h[i] * 0.006 h[i] h i 0.006 a if (d < min) {
				ans = i;
				min = d;
			} d < min d min {
				ans = i;
				min = d;
			} ans = i ans i min = d min d 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) throws Exception {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int t = sc.nextInt();
		int a = sc.nextInt();
		int[] h = new int[n];
		for (int i = 0; i < n; i++) {
			h[i] = sc.nextInt();
		}
		sc.close();

		int ans = 0;
		double min = 100000000;
		for (int i = 0; i < n; i++) {
			double d = Math.abs(t - h[i] * 0.006 - a);
			if (d < min) {
				ans = i;
				min = d;
			}
		}
		System.out.println(ans + 1);
	}
} public class Main {
	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int t = sc.nextInt();
		int a = sc.nextInt();
		int[] h = new int[n];
		for (int i = 0; i < n; i++) {
			h[i] = sc.nextInt();
		}
		sc.close();

		int ans = 0;
		double min = 100000000;
		for (int i = 0; i < n; i++) {
			double d = Math.abs(t - h[i] * 0.006 - a);
			if (d < min) {
				ans = i;
				min = d;
			}
		}
		System.out.println(ans + 1);
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int t = sc.nextInt();
		int a = sc.nextInt();
		int[] h = new int[n];
		for (int i = 0; i < n; i++) {
			h[i] = sc.nextInt();
		}
		sc.close();

		int ans = 0;
		double min = 100000000;
		for (int i = 0; i < n; i++) {
			double d = Math.abs(t - h[i] * 0.006 - a);
			if (d < min) {
				ans = i;
				min = d;
			}
		}
		System.out.println(ans + 1);
	}
}