import java.io.InputStream;
import java.io.PrintStream;
import java.util.Scanner;

public class Main {
	InputStream in = System.in;
	PrintStream out = System.out;

	public void _main(String[] args) {
		Scanner sc = new Scanner(in);

		int N = sc.nextInt();
		int T = sc.nextInt();
		int A = sc.nextInt();

		double min = Double.MAX_VALUE;
		int ans = 0;

		for (int i = 1; i <= N; i++) {
			int h = sc.nextInt();

			double t = T - (h * 0.006);
			double d = Math.abs(A - t);

			if (min > d) {
				min = d;
				ans = i;
			}
		}

		out.println(ans);

		sc.close();

	}

	public static void main(String[] args) {
		new Main()._main(args);
	}

} import java.io.InputStream; InputStream java.io import java.io.PrintStream; PrintStream java.io import java.util.Scanner; Scanner java.util public class Main {
	InputStream in = System.in;
	PrintStream out = System.out;

	public void _main(String[] args) {
		Scanner sc = new Scanner(in);

		int N = sc.nextInt();
		int T = sc.nextInt();
		int A = sc.nextInt();

		double min = Double.MAX_VALUE;
		int ans = 0;

		for (int i = 1; i <= N; i++) {
			int h = sc.nextInt();

			double t = T - (h * 0.006);
			double d = Math.abs(A - t);

			if (min > d) {
				min = d;
				ans = i;
			}
		}

		out.println(ans);

		sc.close();

	}

	public static void main(String[] args) {
		new Main()._main(args);
	}

} Main InputStream in = System.in; in System.in System System.in PrintStream out = System.out; out System.out System System.out public void _main(String[] args) {
		Scanner sc = new Scanner(in);

		int N = sc.nextInt();
		int T = sc.nextInt();
		int A = sc.nextInt();

		double min = Double.MAX_VALUE;
		int ans = 0;

		for (int i = 1; i <= N; i++) {
			int h = sc.nextInt();

			double t = T - (h * 0.006);
			double d = Math.abs(A - t);

			if (min > d) {
				min = d;
				ans = i;
			}
		}

		out.println(ans);

		sc.close();

	} _main {
		Scanner sc = new Scanner(in);

		int N = sc.nextInt();
		int T = sc.nextInt();
		int A = sc.nextInt();

		double min = Double.MAX_VALUE;
		int ans = 0;

		for (int i = 1; i <= N; i++) {
			int h = sc.nextInt();

			double t = T - (h * 0.006);
			double d = Math.abs(A - t);

			if (min > d) {
				min = d;
				ans = i;
			}
		}

		out.println(ans);

		sc.close();

	} Scanner sc = new Scanner(in); sc new Scanner(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 min = Double.MAX_VALUE; min Double.MAX_VALUE Double Double.MAX_VALUE int ans = 0; ans 0 for (int i = 1; i <= N; i++) {
			int h = sc.nextInt();

			double t = T - (h * 0.006);
			double d = Math.abs(A - t);

			if (min > d) {
				min = d;
				ans = i;
			}
		} int i = 1; int i = 1; i 1 i <= N i N i++ i++ i {
			int h = sc.nextInt();

			double t = T - (h * 0.006);
			double d = Math.abs(A - t);

			if (min > d) {
				min = d;
				ans = i;
			}
		} {
			int h = sc.nextInt();

			double t = T - (h * 0.006);
			double d = Math.abs(A - t);

			if (min > d) {
				min = d;
				ans = i;
			}
		} int h = sc.nextInt(); h sc.nextInt() sc.nextInt sc double t = T - (h * 0.006); t T - (h * 0.006) T (h * 0.006) h 0.006 double d = Math.abs(A - t); d Math.abs(A - t) Math.abs Math A - t A t if (min > d) {
				min = d;
				ans = i;
			} min > d min d {
				min = d;
				ans = i;
			} min = d min d ans = i ans i out.println(ans) out.println out ans sc.close() sc.close sc String[] args args public static void main(String[] args) {
		new Main()._main(args);
	} main {
		new Main()._main(args);
	} new Main()._main(args) new Main()._main new Main() args String[] args args public class Main {
	InputStream in = System.in;
	PrintStream out = System.out;

	public void _main(String[] args) {
		Scanner sc = new Scanner(in);

		int N = sc.nextInt();
		int T = sc.nextInt();
		int A = sc.nextInt();

		double min = Double.MAX_VALUE;
		int ans = 0;

		for (int i = 1; i <= N; i++) {
			int h = sc.nextInt();

			double t = T - (h * 0.006);
			double d = Math.abs(A - t);

			if (min > d) {
				min = d;
				ans = i;
			}
		}

		out.println(ans);

		sc.close();

	}

	public static void main(String[] args) {
		new Main()._main(args);
	}

} public class Main {
	InputStream in = System.in;
	PrintStream out = System.out;

	public void _main(String[] args) {
		Scanner sc = new Scanner(in);

		int N = sc.nextInt();
		int T = sc.nextInt();
		int A = sc.nextInt();

		double min = Double.MAX_VALUE;
		int ans = 0;

		for (int i = 1; i <= N; i++) {
			int h = sc.nextInt();

			double t = T - (h * 0.006);
			double d = Math.abs(A - t);

			if (min > d) {
				min = d;
				ans = i;
			}
		}

		out.println(ans);

		sc.close();

	}

	public static void main(String[] args) {
		new Main()._main(args);
	}

} Main
import java.io.InputStream;
import java.io.PrintStream;
import java.util.Scanner;

public class Main {
	InputStream in = System.in;
	PrintStream out = System.out;

	public void _main(String[] args) {
		Scanner sc = new Scanner(in);

		int N = sc.nextInt();
		int T = sc.nextInt();
		int A = sc.nextInt();

		double min = Double.MAX_VALUE;
		int ans = 0;

		for (int i = 1; i <= N; i++) {
			int h = sc.nextInt();

			double t = T - (h * 0.006);
			double d = Math.abs(A - t);

			if (min > d) {
				min = d;
				ans = i;
			}
		}

		out.println(ans);

		sc.close();

	}

	public static void main(String[] args) {
		new Main()._main(args);
	}

}
