
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		// ABC11X_A();
		ABC11X_B();
		// ABC11X_C();
		// ABC11X_D();
	}

	private static void ABC11X_A() {
		Scanner scanner = null;
		int amountX = 0;
		int amountY = 0;

		try {
			scanner = new Scanner(System.in);
			amountX = scanner.nextInt();
			amountY = scanner.nextInt();

			int total = amountX + (amountY / 2);

			System.out.println(total);

		} finally {
			if (scanner != null) {
				scanner.close();
			}
		}
	}

	private static void ABC11X_B() {
		Scanner scanner = null;

		try {
			scanner = new Scanner(System.in);
			int numN = scanner.nextInt();
			double numT = scanner.nextInt();
			double numA = scanner.nextInt();

			double minA = Double.MAX_VALUE;
			int targetN = Integer.MAX_VALUE;
			double wkTemp = Double.MAX_VALUE;
			for (int i = 0; i < numN; i++) {
				wkTemp = Math.abs(numA - (numT - scanner.nextInt() * 0.006));
				if (minA > wkTemp) {
					minA = wkTemp;
					targetN = i;
				}
			}

			System.out.println(targetN + 1);

		} finally {
			if (scanner != null) {
				scanner.close();
			}
		}
	}

	private static void ABC11X_C() {
		Scanner scanner = null;
		int lineAB = 0;

		try {
			scanner = new Scanner(System.in);
			lineAB = scanner.nextInt();

			System.out.println();

		} finally {
			if (scanner != null) {
				scanner.close();
			}
		}
	}

	private static void ABC11X_D() {
		Scanner scanner = null;
		int lineAB = 0;

		try {
			scanner = new Scanner(System.in);
			lineAB = scanner.nextInt();

			System.out.println();

		} finally {
			if (scanner != null) {
				scanner.close();
			}
		}
	}
} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {

		// ABC11X_A();
		ABC11X_B();
		// ABC11X_C();
		// ABC11X_D();
	}

	private static void ABC11X_A() {
		Scanner scanner = null;
		int amountX = 0;
		int amountY = 0;

		try {
			scanner = new Scanner(System.in);
			amountX = scanner.nextInt();
			amountY = scanner.nextInt();

			int total = amountX + (amountY / 2);

			System.out.println(total);

		} finally {
			if (scanner != null) {
				scanner.close();
			}
		}
	}

	private static void ABC11X_B() {
		Scanner scanner = null;

		try {
			scanner = new Scanner(System.in);
			int numN = scanner.nextInt();
			double numT = scanner.nextInt();
			double numA = scanner.nextInt();

			double minA = Double.MAX_VALUE;
			int targetN = Integer.MAX_VALUE;
			double wkTemp = Double.MAX_VALUE;
			for (int i = 0; i < numN; i++) {
				wkTemp = Math.abs(numA - (numT - scanner.nextInt() * 0.006));
				if (minA > wkTemp) {
					minA = wkTemp;
					targetN = i;
				}
			}

			System.out.println(targetN + 1);

		} finally {
			if (scanner != null) {
				scanner.close();
			}
		}
	}

	private static void ABC11X_C() {
		Scanner scanner = null;
		int lineAB = 0;

		try {
			scanner = new Scanner(System.in);
			lineAB = scanner.nextInt();

			System.out.println();

		} finally {
			if (scanner != null) {
				scanner.close();
			}
		}
	}

	private static void ABC11X_D() {
		Scanner scanner = null;
		int lineAB = 0;

		try {
			scanner = new Scanner(System.in);
			lineAB = scanner.nextInt();

			System.out.println();

		} finally {
			if (scanner != null) {
				scanner.close();
			}
		}
	}
} Main public static void main(String[] args) {

		// ABC11X_A();
		ABC11X_B();
		// ABC11X_C();
		// ABC11X_D();
	} main {

		// ABC11X_A();
		ABC11X_B();
		// ABC11X_C();
		// ABC11X_D();
	} ABC11X_B() ABC11X_B String[] args args private static void ABC11X_A() {
		Scanner scanner = null;
		int amountX = 0;
		int amountY = 0;

		try {
			scanner = new Scanner(System.in);
			amountX = scanner.nextInt();
			amountY = scanner.nextInt();

			int total = amountX + (amountY / 2);

			System.out.println(total);

		} finally {
			if (scanner != null) {
				scanner.close();
			}
		}
	} ABC11X_A {
		Scanner scanner = null;
		int amountX = 0;
		int amountY = 0;

		try {
			scanner = new Scanner(System.in);
			amountX = scanner.nextInt();
			amountY = scanner.nextInt();

			int total = amountX + (amountY / 2);

			System.out.println(total);

		} finally {
			if (scanner != null) {
				scanner.close();
			}
		}
	} Scanner scanner = null; scanner null int amountX = 0; amountX 0 int amountY = 0; amountY 0 try {
			scanner = new Scanner(System.in);
			amountX = scanner.nextInt();
			amountY = scanner.nextInt();

			int total = amountX + (amountY / 2);

			System.out.println(total);

		} finally {
			if (scanner != null) {
				scanner.close();
			}
		} {
			if (scanner != null) {
				scanner.close();
			}
		} if (scanner != null) {
				scanner.close();
			} scanner != null scanner null {
				scanner.close();
			} scanner.close() scanner.close scanner {
			scanner = new Scanner(System.in);
			amountX = scanner.nextInt();
			amountY = scanner.nextInt();

			int total = amountX + (amountY / 2);

			System.out.println(total);

		} scanner = new Scanner(System.in) scanner new Scanner(System.in) amountX = scanner.nextInt() amountX scanner.nextInt() scanner.nextInt scanner amountY = scanner.nextInt() amountY scanner.nextInt() scanner.nextInt scanner int total = amountX + (amountY / 2); total amountX + (amountY / 2) amountX (amountY / 2) amountY 2 System.out.println(total) System.out.println System.out System System.out total private static void ABC11X_B() {
		Scanner scanner = null;

		try {
			scanner = new Scanner(System.in);
			int numN = scanner.nextInt();
			double numT = scanner.nextInt();
			double numA = scanner.nextInt();

			double minA = Double.MAX_VALUE;
			int targetN = Integer.MAX_VALUE;
			double wkTemp = Double.MAX_VALUE;
			for (int i = 0; i < numN; i++) {
				wkTemp = Math.abs(numA - (numT - scanner.nextInt() * 0.006));
				if (minA > wkTemp) {
					minA = wkTemp;
					targetN = i;
				}
			}

			System.out.println(targetN + 1);

		} finally {
			if (scanner != null) {
				scanner.close();
			}
		}
	} ABC11X_B {
		Scanner scanner = null;

		try {
			scanner = new Scanner(System.in);
			int numN = scanner.nextInt();
			double numT = scanner.nextInt();
			double numA = scanner.nextInt();

			double minA = Double.MAX_VALUE;
			int targetN = Integer.MAX_VALUE;
			double wkTemp = Double.MAX_VALUE;
			for (int i = 0; i < numN; i++) {
				wkTemp = Math.abs(numA - (numT - scanner.nextInt() * 0.006));
				if (minA > wkTemp) {
					minA = wkTemp;
					targetN = i;
				}
			}

			System.out.println(targetN + 1);

		} finally {
			if (scanner != null) {
				scanner.close();
			}
		}
	} Scanner scanner = null; scanner null try {
			scanner = new Scanner(System.in);
			int numN = scanner.nextInt();
			double numT = scanner.nextInt();
			double numA = scanner.nextInt();

			double minA = Double.MAX_VALUE;
			int targetN = Integer.MAX_VALUE;
			double wkTemp = Double.MAX_VALUE;
			for (int i = 0; i < numN; i++) {
				wkTemp = Math.abs(numA - (numT - scanner.nextInt() * 0.006));
				if (minA > wkTemp) {
					minA = wkTemp;
					targetN = i;
				}
			}

			System.out.println(targetN + 1);

		} finally {
			if (scanner != null) {
				scanner.close();
			}
		} {
			if (scanner != null) {
				scanner.close();
			}
		} if (scanner != null) {
				scanner.close();
			} scanner != null scanner null {
				scanner.close();
			} scanner.close() scanner.close scanner {
			scanner = new Scanner(System.in);
			int numN = scanner.nextInt();
			double numT = scanner.nextInt();
			double numA = scanner.nextInt();

			double minA = Double.MAX_VALUE;
			int targetN = Integer.MAX_VALUE;
			double wkTemp = Double.MAX_VALUE;
			for (int i = 0; i < numN; i++) {
				wkTemp = Math.abs(numA - (numT - scanner.nextInt() * 0.006));
				if (minA > wkTemp) {
					minA = wkTemp;
					targetN = i;
				}
			}

			System.out.println(targetN + 1);

		} scanner = new Scanner(System.in) scanner new Scanner(System.in) int numN = scanner.nextInt(); numN scanner.nextInt() scanner.nextInt scanner double numT = scanner.nextInt(); numT scanner.nextInt() scanner.nextInt scanner double numA = scanner.nextInt(); numA scanner.nextInt() scanner.nextInt scanner double minA = Double.MAX_VALUE; minA Double.MAX_VALUE Double Double.MAX_VALUE int targetN = Integer.MAX_VALUE; targetN Integer.MAX_VALUE Integer Integer.MAX_VALUE double wkTemp = Double.MAX_VALUE; wkTemp Double.MAX_VALUE Double Double.MAX_VALUE for (int i = 0; i < numN; i++) {
				wkTemp = Math.abs(numA - (numT - scanner.nextInt() * 0.006));
				if (minA > wkTemp) {
					minA = wkTemp;
					targetN = i;
				}
			} int i = 0; int i = 0; i 0 i < numN i numN i++ i++ i {
				wkTemp = Math.abs(numA - (numT - scanner.nextInt() * 0.006));
				if (minA > wkTemp) {
					minA = wkTemp;
					targetN = i;
				}
			} {
				wkTemp = Math.abs(numA - (numT - scanner.nextInt() * 0.006));
				if (minA > wkTemp) {
					minA = wkTemp;
					targetN = i;
				}
			} wkTemp = Math.abs(numA - (numT - scanner.nextInt() * 0.006)) wkTemp Math.abs(numA - (numT - scanner.nextInt() * 0.006)) Math.abs Math numA - (numT - scanner.nextInt() * 0.006) numA (numT - scanner.nextInt() * 0.006) numT scanner.nextInt() * 0.006 scanner.nextInt() scanner.nextInt scanner 0.006 if (minA > wkTemp) {
					minA = wkTemp;
					targetN = i;
				} minA > wkTemp minA wkTemp {
					minA = wkTemp;
					targetN = i;
				} minA = wkTemp minA wkTemp targetN = i targetN i System.out.println(targetN + 1) System.out.println System.out System System.out targetN + 1 targetN 1 private static void ABC11X_C() {
		Scanner scanner = null;
		int lineAB = 0;

		try {
			scanner = new Scanner(System.in);
			lineAB = scanner.nextInt();

			System.out.println();

		} finally {
			if (scanner != null) {
				scanner.close();
			}
		}
	} ABC11X_C {
		Scanner scanner = null;
		int lineAB = 0;

		try {
			scanner = new Scanner(System.in);
			lineAB = scanner.nextInt();

			System.out.println();

		} finally {
			if (scanner != null) {
				scanner.close();
			}
		}
	} Scanner scanner = null; scanner null int lineAB = 0; lineAB 0 try {
			scanner = new Scanner(System.in);
			lineAB = scanner.nextInt();

			System.out.println();

		} finally {
			if (scanner != null) {
				scanner.close();
			}
		} {
			if (scanner != null) {
				scanner.close();
			}
		} if (scanner != null) {
				scanner.close();
			} scanner != null scanner null {
				scanner.close();
			} scanner.close() scanner.close scanner {
			scanner = new Scanner(System.in);
			lineAB = scanner.nextInt();

			System.out.println();

		} scanner = new Scanner(System.in) scanner new Scanner(System.in) lineAB = scanner.nextInt() lineAB scanner.nextInt() scanner.nextInt scanner System.out.println() System.out.println System.out System System.out private static void ABC11X_D() {
		Scanner scanner = null;
		int lineAB = 0;

		try {
			scanner = new Scanner(System.in);
			lineAB = scanner.nextInt();

			System.out.println();

		} finally {
			if (scanner != null) {
				scanner.close();
			}
		}
	} ABC11X_D {
		Scanner scanner = null;
		int lineAB = 0;

		try {
			scanner = new Scanner(System.in);
			lineAB = scanner.nextInt();

			System.out.println();

		} finally {
			if (scanner != null) {
				scanner.close();
			}
		}
	} Scanner scanner = null; scanner null int lineAB = 0; lineAB 0 try {
			scanner = new Scanner(System.in);
			lineAB = scanner.nextInt();

			System.out.println();

		} finally {
			if (scanner != null) {
				scanner.close();
			}
		} {
			if (scanner != null) {
				scanner.close();
			}
		} if (scanner != null) {
				scanner.close();
			} scanner != null scanner null {
				scanner.close();
			} scanner.close() scanner.close scanner {
			scanner = new Scanner(System.in);
			lineAB = scanner.nextInt();

			System.out.println();

		} scanner = new Scanner(System.in) scanner new Scanner(System.in) lineAB = scanner.nextInt() lineAB scanner.nextInt() scanner.nextInt scanner System.out.println() System.out.println System.out System System.out public class Main {

	public static void main(String[] args) {

		// ABC11X_A();
		ABC11X_B();
		// ABC11X_C();
		// ABC11X_D();
	}

	private static void ABC11X_A() {
		Scanner scanner = null;
		int amountX = 0;
		int amountY = 0;

		try {
			scanner = new Scanner(System.in);
			amountX = scanner.nextInt();
			amountY = scanner.nextInt();

			int total = amountX + (amountY / 2);

			System.out.println(total);

		} finally {
			if (scanner != null) {
				scanner.close();
			}
		}
	}

	private static void ABC11X_B() {
		Scanner scanner = null;

		try {
			scanner = new Scanner(System.in);
			int numN = scanner.nextInt();
			double numT = scanner.nextInt();
			double numA = scanner.nextInt();

			double minA = Double.MAX_VALUE;
			int targetN = Integer.MAX_VALUE;
			double wkTemp = Double.MAX_VALUE;
			for (int i = 0; i < numN; i++) {
				wkTemp = Math.abs(numA - (numT - scanner.nextInt() * 0.006));
				if (minA > wkTemp) {
					minA = wkTemp;
					targetN = i;
				}
			}

			System.out.println(targetN + 1);

		} finally {
			if (scanner != null) {
				scanner.close();
			}
		}
	}

	private static void ABC11X_C() {
		Scanner scanner = null;
		int lineAB = 0;

		try {
			scanner = new Scanner(System.in);
			lineAB = scanner.nextInt();

			System.out.println();

		} finally {
			if (scanner != null) {
				scanner.close();
			}
		}
	}

	private static void ABC11X_D() {
		Scanner scanner = null;
		int lineAB = 0;

		try {
			scanner = new Scanner(System.in);
			lineAB = scanner.nextInt();

			System.out.println();

		} finally {
			if (scanner != null) {
				scanner.close();
			}
		}
	}
} public class Main {

	public static void main(String[] args) {

		// ABC11X_A();
		ABC11X_B();
		// ABC11X_C();
		// ABC11X_D();
	}

	private static void ABC11X_A() {
		Scanner scanner = null;
		int amountX = 0;
		int amountY = 0;

		try {
			scanner = new Scanner(System.in);
			amountX = scanner.nextInt();
			amountY = scanner.nextInt();

			int total = amountX + (amountY / 2);

			System.out.println(total);

		} finally {
			if (scanner != null) {
				scanner.close();
			}
		}
	}

	private static void ABC11X_B() {
		Scanner scanner = null;

		try {
			scanner = new Scanner(System.in);
			int numN = scanner.nextInt();
			double numT = scanner.nextInt();
			double numA = scanner.nextInt();

			double minA = Double.MAX_VALUE;
			int targetN = Integer.MAX_VALUE;
			double wkTemp = Double.MAX_VALUE;
			for (int i = 0; i < numN; i++) {
				wkTemp = Math.abs(numA - (numT - scanner.nextInt() * 0.006));
				if (minA > wkTemp) {
					minA = wkTemp;
					targetN = i;
				}
			}

			System.out.println(targetN + 1);

		} finally {
			if (scanner != null) {
				scanner.close();
			}
		}
	}

	private static void ABC11X_C() {
		Scanner scanner = null;
		int lineAB = 0;

		try {
			scanner = new Scanner(System.in);
			lineAB = scanner.nextInt();

			System.out.println();

		} finally {
			if (scanner != null) {
				scanner.close();
			}
		}
	}

	private static void ABC11X_D() {
		Scanner scanner = null;
		int lineAB = 0;

		try {
			scanner = new Scanner(System.in);
			lineAB = scanner.nextInt();

			System.out.println();

		} finally {
			if (scanner != null) {
				scanner.close();
			}
		}
	}
} Main

import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		// ABC11X_A();
		ABC11X_B();
		// ABC11X_C();
		// ABC11X_D();
	}

	private static void ABC11X_A() {
		Scanner scanner = null;
		int amountX = 0;
		int amountY = 0;

		try {
			scanner = new Scanner(System.in);
			amountX = scanner.nextInt();
			amountY = scanner.nextInt();

			int total = amountX + (amountY / 2);

			System.out.println(total);

		} finally {
			if (scanner != null) {
				scanner.close();
			}
		}
	}

	private static void ABC11X_B() {
		Scanner scanner = null;

		try {
			scanner = new Scanner(System.in);
			int numN = scanner.nextInt();
			double numT = scanner.nextInt();
			double numA = scanner.nextInt();

			double minA = Double.MAX_VALUE;
			int targetN = Integer.MAX_VALUE;
			double wkTemp = Double.MAX_VALUE;
			for (int i = 0; i < numN; i++) {
				wkTemp = Math.abs(numA - (numT - scanner.nextInt() * 0.006));
				if (minA > wkTemp) {
					minA = wkTemp;
					targetN = i;
				}
			}

			System.out.println(targetN + 1);

		} finally {
			if (scanner != null) {
				scanner.close();
			}
		}
	}

	private static void ABC11X_C() {
		Scanner scanner = null;
		int lineAB = 0;

		try {
			scanner = new Scanner(System.in);
			lineAB = scanner.nextInt();

			System.out.println();

		} finally {
			if (scanner != null) {
				scanner.close();
			}
		}
	}

	private static void ABC11X_D() {
		Scanner scanner = null;
		int lineAB = 0;

		try {
			scanner = new Scanner(System.in);
			lineAB = scanner.nextInt();

			System.out.println();

		} finally {
			if (scanner != null) {
				scanner.close();
			}
		}
	}
}