
import java.math.*;
import java.util.*;

public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		try (Scanner sc = new Scanner(System.in)) {
			int placeCount = sc.nextInt();
			int t = sc.nextInt();
			int target = sc.nextInt();

			int[] places = new int[placeCount];
			int i = 0;
			while (i < placeCount) {
				places[i] = sc.nextInt();
				i++;
			}

			BigDecimal abs = null;
			int j = 1;
			int result = 0;
			for (int p : places) {
				BigDecimal val = getValue(t, p);

				BigDecimal wk = val.subtract(BigDecimal.valueOf(target));
				if (abs == null || abs.compareTo(wk.abs()) >= 0) {
					abs = wk.abs();
					result = j;
				}
				j++;
			}
			System.out.println(result);
		}
	}

	public static BigDecimal getValue(int t, int x) {
		return BigDecimal.valueOf(t)
			.subtract(BigDecimal.valueOf(x).multiply(BigDecimal.valueOf(0.006)));
	}
} import java.math.*; math.* java import java.util.*; util.* java public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		try (Scanner sc = new Scanner(System.in)) {
			int placeCount = sc.nextInt();
			int t = sc.nextInt();
			int target = sc.nextInt();

			int[] places = new int[placeCount];
			int i = 0;
			while (i < placeCount) {
				places[i] = sc.nextInt();
				i++;
			}

			BigDecimal abs = null;
			int j = 1;
			int result = 0;
			for (int p : places) {
				BigDecimal val = getValue(t, p);

				BigDecimal wk = val.subtract(BigDecimal.valueOf(target));
				if (abs == null || abs.compareTo(wk.abs()) >= 0) {
					abs = wk.abs();
					result = j;
				}
				j++;
			}
			System.out.println(result);
		}
	}

	public static BigDecimal getValue(int t, int x) {
		return BigDecimal.valueOf(t)
			.subtract(BigDecimal.valueOf(x).multiply(BigDecimal.valueOf(0.006)));
	}
} Main /**
	 * @param args
	 */
	public static void main(String[] args) {
		try (Scanner sc = new Scanner(System.in)) {
			int placeCount = sc.nextInt();
			int t = sc.nextInt();
			int target = sc.nextInt();

			int[] places = new int[placeCount];
			int i = 0;
			while (i < placeCount) {
				places[i] = sc.nextInt();
				i++;
			}

			BigDecimal abs = null;
			int j = 1;
			int result = 0;
			for (int p : places) {
				BigDecimal val = getValue(t, p);

				BigDecimal wk = val.subtract(BigDecimal.valueOf(target));
				if (abs == null || abs.compareTo(wk.abs()) >= 0) {
					abs = wk.abs();
					result = j;
				}
				j++;
			}
			System.out.println(result);
		}
	} main {
		try (Scanner sc = new Scanner(System.in)) {
			int placeCount = sc.nextInt();
			int t = sc.nextInt();
			int target = sc.nextInt();

			int[] places = new int[placeCount];
			int i = 0;
			while (i < placeCount) {
				places[i] = sc.nextInt();
				i++;
			}

			BigDecimal abs = null;
			int j = 1;
			int result = 0;
			for (int p : places) {
				BigDecimal val = getValue(t, p);

				BigDecimal wk = val.subtract(BigDecimal.valueOf(target));
				if (abs == null || abs.compareTo(wk.abs()) >= 0) {
					abs = wk.abs();
					result = j;
				}
				j++;
			}
			System.out.println(result);
		}
	} try (Scanner sc = new Scanner(System.in)) {
			int placeCount = sc.nextInt();
			int t = sc.nextInt();
			int target = sc.nextInt();

			int[] places = new int[placeCount];
			int i = 0;
			while (i < placeCount) {
				places[i] = sc.nextInt();
				i++;
			}

			BigDecimal abs = null;
			int j = 1;
			int result = 0;
			for (int p : places) {
				BigDecimal val = getValue(t, p);

				BigDecimal wk = val.subtract(BigDecimal.valueOf(target));
				if (abs == null || abs.compareTo(wk.abs()) >= 0) {
					abs = wk.abs();
					result = j;
				}
				j++;
			}
			System.out.println(result);
		} {
			int placeCount = sc.nextInt();
			int t = sc.nextInt();
			int target = sc.nextInt();

			int[] places = new int[placeCount];
			int i = 0;
			while (i < placeCount) {
				places[i] = sc.nextInt();
				i++;
			}

			BigDecimal abs = null;
			int j = 1;
			int result = 0;
			for (int p : places) {
				BigDecimal val = getValue(t, p);

				BigDecimal wk = val.subtract(BigDecimal.valueOf(target));
				if (abs == null || abs.compareTo(wk.abs()) >= 0) {
					abs = wk.abs();
					result = j;
				}
				j++;
			}
			System.out.println(result);
		} Scanner sc = new Scanner(System.in) Scanner sc = new Scanner(System.in) new Scanner(System.in) int placeCount = sc.nextInt(); placeCount sc.nextInt() sc.nextInt sc int t = sc.nextInt(); t sc.nextInt() sc.nextInt sc int target = sc.nextInt(); target sc.nextInt() sc.nextInt sc int[] places = new int[placeCount]; places new int[placeCount] placeCount int i = 0; i 0 while (i < placeCount) {
				places[i] = sc.nextInt();
				i++;
			} i < placeCount i placeCount {
				places[i] = sc.nextInt();
				i++;
			} places[i] = sc.nextInt() places[i] places i sc.nextInt() sc.nextInt sc i++ i BigDecimal abs = null; abs null int j = 1; j 1 int result = 0; result 0 for (int p : places) {
				BigDecimal val = getValue(t, p);

				BigDecimal wk = val.subtract(BigDecimal.valueOf(target));
				if (abs == null || abs.compareTo(wk.abs()) >= 0) {
					abs = wk.abs();
					result = j;
				}
				j++;
			} int p places {
				BigDecimal val = getValue(t, p);

				BigDecimal wk = val.subtract(BigDecimal.valueOf(target));
				if (abs == null || abs.compareTo(wk.abs()) >= 0) {
					abs = wk.abs();
					result = j;
				}
				j++;
			} {
				BigDecimal val = getValue(t, p);

				BigDecimal wk = val.subtract(BigDecimal.valueOf(target));
				if (abs == null || abs.compareTo(wk.abs()) >= 0) {
					abs = wk.abs();
					result = j;
				}
				j++;
			} BigDecimal val = getValue(t, p); val getValue(t, p) getValue t p BigDecimal wk = val.subtract(BigDecimal.valueOf(target)); wk val.subtract(BigDecimal.valueOf(target)) val.subtract val BigDecimal.valueOf(target) BigDecimal.valueOf BigDecimal target if (abs == null || abs.compareTo(wk.abs()) >= 0) {
					abs = wk.abs();
					result = j;
				} abs == null || abs.compareTo(wk.abs()) >= 0 abs == null abs null abs.compareTo(wk.abs()) >= 0 abs.compareTo(wk.abs()) abs.compareTo abs wk.abs() wk.abs wk 0 {
					abs = wk.abs();
					result = j;
				} abs = wk.abs() abs wk.abs() wk.abs wk result = j result j j++ j System.out.println(result) System.out.println System.out System System.out result String[] args args public static BigDecimal getValue(int t, int x) {
		return BigDecimal.valueOf(t)
			.subtract(BigDecimal.valueOf(x).multiply(BigDecimal.valueOf(0.006)));
	} getValue {
		return BigDecimal.valueOf(t)
			.subtract(BigDecimal.valueOf(x).multiply(BigDecimal.valueOf(0.006)));
	} return BigDecimal.valueOf(t)
			.subtract(BigDecimal.valueOf(x).multiply(BigDecimal.valueOf(0.006))); BigDecimal.valueOf(t)
			.subtract(BigDecimal.valueOf(x).multiply(BigDecimal.valueOf(0.006))) BigDecimal.valueOf(t)
			.subtract BigDecimal.valueOf(t) BigDecimal.valueOf BigDecimal t BigDecimal.valueOf(x).multiply(BigDecimal.valueOf(0.006)) BigDecimal.valueOf(x).multiply BigDecimal.valueOf(x) BigDecimal.valueOf BigDecimal x BigDecimal.valueOf(0.006) BigDecimal.valueOf BigDecimal 0.006 int t t int x x public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		try (Scanner sc = new Scanner(System.in)) {
			int placeCount = sc.nextInt();
			int t = sc.nextInt();
			int target = sc.nextInt();

			int[] places = new int[placeCount];
			int i = 0;
			while (i < placeCount) {
				places[i] = sc.nextInt();
				i++;
			}

			BigDecimal abs = null;
			int j = 1;
			int result = 0;
			for (int p : places) {
				BigDecimal val = getValue(t, p);

				BigDecimal wk = val.subtract(BigDecimal.valueOf(target));
				if (abs == null || abs.compareTo(wk.abs()) >= 0) {
					abs = wk.abs();
					result = j;
				}
				j++;
			}
			System.out.println(result);
		}
	}

	public static BigDecimal getValue(int t, int x) {
		return BigDecimal.valueOf(t)
			.subtract(BigDecimal.valueOf(x).multiply(BigDecimal.valueOf(0.006)));
	}
} public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		try (Scanner sc = new Scanner(System.in)) {
			int placeCount = sc.nextInt();
			int t = sc.nextInt();
			int target = sc.nextInt();

			int[] places = new int[placeCount];
			int i = 0;
			while (i < placeCount) {
				places[i] = sc.nextInt();
				i++;
			}

			BigDecimal abs = null;
			int j = 1;
			int result = 0;
			for (int p : places) {
				BigDecimal val = getValue(t, p);

				BigDecimal wk = val.subtract(BigDecimal.valueOf(target));
				if (abs == null || abs.compareTo(wk.abs()) >= 0) {
					abs = wk.abs();
					result = j;
				}
				j++;
			}
			System.out.println(result);
		}
	}

	public static BigDecimal getValue(int t, int x) {
		return BigDecimal.valueOf(t)
			.subtract(BigDecimal.valueOf(x).multiply(BigDecimal.valueOf(0.006)));
	}
} Main

import java.math.*;
import java.util.*;

public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		try (Scanner sc = new Scanner(System.in)) {
			int placeCount = sc.nextInt();
			int t = sc.nextInt();
			int target = sc.nextInt();

			int[] places = new int[placeCount];
			int i = 0;
			while (i < placeCount) {
				places[i] = sc.nextInt();
				i++;
			}

			BigDecimal abs = null;
			int j = 1;
			int result = 0;
			for (int p : places) {
				BigDecimal val = getValue(t, p);

				BigDecimal wk = val.subtract(BigDecimal.valueOf(target));
				if (abs == null || abs.compareTo(wk.abs()) >= 0) {
					abs = wk.abs();
					result = j;
				}
				j++;
			}
			System.out.println(result);
		}
	}

	public static BigDecimal getValue(int t, int x) {
		return BigDecimal.valueOf(t)
			.subtract(BigDecimal.valueOf(x).multiply(BigDecimal.valueOf(0.006)));
	}
}
