import java.util.*;
public class Main {
	public static void main(String[] args) {
		int N = 0;
		int T = 0;
		int A = 0;
		Scanner scan = new Scanner(System.in);
		N = scan.nextInt();
		T = scan.nextInt();
		A = scan.nextInt();
		int arr[] = new int[N];
		for (int i = 0; i < arr.length; i++) {
			arr[i] = scan.nextInt();
		}
		
		double arr2[] = new double[N];
		
		double temp = 0;
		int address = 1;
		temp = Math.abs(T - arr[0] *0.006 -A);
		for (int i = 1; i < arr.length; i++) {
			arr2[i] = Math.abs(T - arr[i] *0.006 - A);
			if(arr2[i] < temp){
				temp = arr2[i];
				address = i + 1;
			}
		}
		System.out.println(address);
	}
} import java.util.*; util.* java public class Main {
	public static void main(String[] args) {
		int N = 0;
		int T = 0;
		int A = 0;
		Scanner scan = new Scanner(System.in);
		N = scan.nextInt();
		T = scan.nextInt();
		A = scan.nextInt();
		int arr[] = new int[N];
		for (int i = 0; i < arr.length; i++) {
			arr[i] = scan.nextInt();
		}
		
		double arr2[] = new double[N];
		
		double temp = 0;
		int address = 1;
		temp = Math.abs(T - arr[0] *0.006 -A);
		for (int i = 1; i < arr.length; i++) {
			arr2[i] = Math.abs(T - arr[i] *0.006 - A);
			if(arr2[i] < temp){
				temp = arr2[i];
				address = i + 1;
			}
		}
		System.out.println(address);
	}
} Main public static void main(String[] args) {
		int N = 0;
		int T = 0;
		int A = 0;
		Scanner scan = new Scanner(System.in);
		N = scan.nextInt();
		T = scan.nextInt();
		A = scan.nextInt();
		int arr[] = new int[N];
		for (int i = 0; i < arr.length; i++) {
			arr[i] = scan.nextInt();
		}
		
		double arr2[] = new double[N];
		
		double temp = 0;
		int address = 1;
		temp = Math.abs(T - arr[0] *0.006 -A);
		for (int i = 1; i < arr.length; i++) {
			arr2[i] = Math.abs(T - arr[i] *0.006 - A);
			if(arr2[i] < temp){
				temp = arr2[i];
				address = i + 1;
			}
		}
		System.out.println(address);
	} main {
		int N = 0;
		int T = 0;
		int A = 0;
		Scanner scan = new Scanner(System.in);
		N = scan.nextInt();
		T = scan.nextInt();
		A = scan.nextInt();
		int arr[] = new int[N];
		for (int i = 0; i < arr.length; i++) {
			arr[i] = scan.nextInt();
		}
		
		double arr2[] = new double[N];
		
		double temp = 0;
		int address = 1;
		temp = Math.abs(T - arr[0] *0.006 -A);
		for (int i = 1; i < arr.length; i++) {
			arr2[i] = Math.abs(T - arr[i] *0.006 - A);
			if(arr2[i] < temp){
				temp = arr2[i];
				address = i + 1;
			}
		}
		System.out.println(address);
	} int N = 0; N 0 int T = 0; T 0 int A = 0; A 0 Scanner scan = new Scanner(System.in); scan new Scanner(System.in) N = scan.nextInt() N scan.nextInt() scan.nextInt scan T = scan.nextInt() T scan.nextInt() scan.nextInt scan A = scan.nextInt() A scan.nextInt() scan.nextInt scan int arr[] = new int[N]; arr new int[N] N for (int i = 0; i < arr.length; i++) {
			arr[i] = scan.nextInt();
		} int i = 0; int i = 0; i 0 i < arr.length i arr.length arr arr.length i++ i++ i {
			arr[i] = scan.nextInt();
		} {
			arr[i] = scan.nextInt();
		} arr[i] = scan.nextInt() arr[i] arr i scan.nextInt() scan.nextInt scan double arr2[] = new double[N]; arr2 new double[N] N double temp = 0; temp 0 int address = 1; address 1 temp = Math.abs(T - arr[0] *0.006 -A) temp Math.abs(T - arr[0] *0.006 -A) Math.abs Math T - arr[0] *0.006 -A T - arr[0] *0.006 -A T arr[0] *0.006 arr[0] arr 0 0.006 A for (int i = 1; i < arr.length; i++) {
			arr2[i] = Math.abs(T - arr[i] *0.006 - A);
			if(arr2[i] < temp){
				temp = arr2[i];
				address = i + 1;
			}
		} int i = 1; int i = 1; i 1 i < arr.length i arr.length arr arr.length i++ i++ i {
			arr2[i] = Math.abs(T - arr[i] *0.006 - A);
			if(arr2[i] < temp){
				temp = arr2[i];
				address = i + 1;
			}
		} {
			arr2[i] = Math.abs(T - arr[i] *0.006 - A);
			if(arr2[i] < temp){
				temp = arr2[i];
				address = i + 1;
			}
		} arr2[i] = Math.abs(T - arr[i] *0.006 - A) arr2[i] arr2 i Math.abs(T - arr[i] *0.006 - A) Math.abs Math T - arr[i] *0.006 - A T - arr[i] *0.006 - A T arr[i] *0.006 arr[i] arr i 0.006 A if(arr2[i] < temp){
				temp = arr2[i];
				address = i + 1;
			} arr2[i] < temp arr2[i] arr2 i temp {
				temp = arr2[i];
				address = i + 1;
			} temp = arr2[i] temp arr2[i] arr2 i address = i + 1 address i + 1 i 1 System.out.println(address) System.out.println System.out System System.out address String[] args args public class Main {
	public static void main(String[] args) {
		int N = 0;
		int T = 0;
		int A = 0;
		Scanner scan = new Scanner(System.in);
		N = scan.nextInt();
		T = scan.nextInt();
		A = scan.nextInt();
		int arr[] = new int[N];
		for (int i = 0; i < arr.length; i++) {
			arr[i] = scan.nextInt();
		}
		
		double arr2[] = new double[N];
		
		double temp = 0;
		int address = 1;
		temp = Math.abs(T - arr[0] *0.006 -A);
		for (int i = 1; i < arr.length; i++) {
			arr2[i] = Math.abs(T - arr[i] *0.006 - A);
			if(arr2[i] < temp){
				temp = arr2[i];
				address = i + 1;
			}
		}
		System.out.println(address);
	}
} public class Main {
	public static void main(String[] args) {
		int N = 0;
		int T = 0;
		int A = 0;
		Scanner scan = new Scanner(System.in);
		N = scan.nextInt();
		T = scan.nextInt();
		A = scan.nextInt();
		int arr[] = new int[N];
		for (int i = 0; i < arr.length; i++) {
			arr[i] = scan.nextInt();
		}
		
		double arr2[] = new double[N];
		
		double temp = 0;
		int address = 1;
		temp = Math.abs(T - arr[0] *0.006 -A);
		for (int i = 1; i < arr.length; i++) {
			arr2[i] = Math.abs(T - arr[i] *0.006 - A);
			if(arr2[i] < temp){
				temp = arr2[i];
				address = i + 1;
			}
		}
		System.out.println(address);
	}
} Main
import java.util.*;
public class Main {
	public static void main(String[] args) {
		int N = 0;
		int T = 0;
		int A = 0;
		Scanner scan = new Scanner(System.in);
		N = scan.nextInt();
		T = scan.nextInt();
		A = scan.nextInt();
		int arr[] = new int[N];
		for (int i = 0; i < arr.length; i++) {
			arr[i] = scan.nextInt();
		}
		
		double arr2[] = new double[N];
		
		double temp = 0;
		int address = 1;
		temp = Math.abs(T - arr[0] *0.006 -A);
		for (int i = 1; i < arr.length; i++) {
			arr2[i] = Math.abs(T - arr[i] *0.006 - A);
			if(arr2[i] < temp){
				temp = arr2[i];
				address = i + 1;
			}
		}
		System.out.println(address);
	}
}