import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;


public class Main {

	/**
	 * @param args
	 * @throws IOException 
	 * @throws NumberFormatException 
	 */
	public static void main(String[] args) throws NumberFormatException, IOException {
		// TODO Auto-generated method stub
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		
		int n = Integer.parseInt(br.readLine());
		
		String[] tmpArray = br.readLine().split(" ");
		
		int t = Integer.parseInt(tmpArray[0]);
		int a = Integer.parseInt(tmpArray[1]);
		
		double temper[] = new double[n];
		
		tmpArray = br.readLine().split(" ");
		double dt = Double.MAX_VALUE;
		int index = -1;
				
		for(int i = 0; i < n; i++){
			int h = Integer.parseInt(tmpArray[i]);
			
			temper[i] = t - 0.006*h;
			
			if(dt > Math.abs(temper[i] - a)){
				dt = Math.abs(temper[i] - a);
				index = i;
			}
		}
		
		System.out.println(index + 1);
	}

} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.Arrays; Arrays java.util public class Main {

	/**
	 * @param args
	 * @throws IOException 
	 * @throws NumberFormatException 
	 */
	public static void main(String[] args) throws NumberFormatException, IOException {
		// TODO Auto-generated method stub
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		
		int n = Integer.parseInt(br.readLine());
		
		String[] tmpArray = br.readLine().split(" ");
		
		int t = Integer.parseInt(tmpArray[0]);
		int a = Integer.parseInt(tmpArray[1]);
		
		double temper[] = new double[n];
		
		tmpArray = br.readLine().split(" ");
		double dt = Double.MAX_VALUE;
		int index = -1;
				
		for(int i = 0; i < n; i++){
			int h = Integer.parseInt(tmpArray[i]);
			
			temper[i] = t - 0.006*h;
			
			if(dt > Math.abs(temper[i] - a)){
				dt = Math.abs(temper[i] - a);
				index = i;
			}
		}
		
		System.out.println(index + 1);
	}

} Main /**
	 * @param args
	 * @throws IOException 
	 * @throws NumberFormatException 
	 */
	public static void main(String[] args) throws NumberFormatException, IOException {
		// TODO Auto-generated method stub
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		
		int n = Integer.parseInt(br.readLine());
		
		String[] tmpArray = br.readLine().split(" ");
		
		int t = Integer.parseInt(tmpArray[0]);
		int a = Integer.parseInt(tmpArray[1]);
		
		double temper[] = new double[n];
		
		tmpArray = br.readLine().split(" ");
		double dt = Double.MAX_VALUE;
		int index = -1;
				
		for(int i = 0; i < n; i++){
			int h = Integer.parseInt(tmpArray[i]);
			
			temper[i] = t - 0.006*h;
			
			if(dt > Math.abs(temper[i] - a)){
				dt = Math.abs(temper[i] - a);
				index = i;
			}
		}
		
		System.out.println(index + 1);
	} main {
		// TODO Auto-generated method stub
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		
		int n = Integer.parseInt(br.readLine());
		
		String[] tmpArray = br.readLine().split(" ");
		
		int t = Integer.parseInt(tmpArray[0]);
		int a = Integer.parseInt(tmpArray[1]);
		
		double temper[] = new double[n];
		
		tmpArray = br.readLine().split(" ");
		double dt = Double.MAX_VALUE;
		int index = -1;
				
		for(int i = 0; i < n; i++){
			int h = Integer.parseInt(tmpArray[i]);
			
			temper[i] = t - 0.006*h;
			
			if(dt > Math.abs(temper[i] - a)){
				dt = Math.abs(temper[i] - a);
				index = i;
			}
		}
		
		System.out.println(index + 1);
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) int n = Integer.parseInt(br.readLine()); n Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br String[] tmpArray = br.readLine().split(" "); tmpArray br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " int t = Integer.parseInt(tmpArray[0]); t Integer.parseInt(tmpArray[0]) Integer.parseInt Integer tmpArray[0] tmpArray 0 int a = Integer.parseInt(tmpArray[1]); a Integer.parseInt(tmpArray[1]) Integer.parseInt Integer tmpArray[1] tmpArray 1 double temper[] = new double[n]; temper new double[n] n tmpArray = br.readLine().split(" ") tmpArray br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " double dt = Double.MAX_VALUE; dt Double.MAX_VALUE Double Double.MAX_VALUE int index = -1; index -1 1 for(int i = 0; i < n; i++){
			int h = Integer.parseInt(tmpArray[i]);
			
			temper[i] = t - 0.006*h;
			
			if(dt > Math.abs(temper[i] - a)){
				dt = Math.abs(temper[i] - a);
				index = i;
			}
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			int h = Integer.parseInt(tmpArray[i]);
			
			temper[i] = t - 0.006*h;
			
			if(dt > Math.abs(temper[i] - a)){
				dt = Math.abs(temper[i] - a);
				index = i;
			}
		} {
			int h = Integer.parseInt(tmpArray[i]);
			
			temper[i] = t - 0.006*h;
			
			if(dt > Math.abs(temper[i] - a)){
				dt = Math.abs(temper[i] - a);
				index = i;
			}
		} int h = Integer.parseInt(tmpArray[i]); h Integer.parseInt(tmpArray[i]) Integer.parseInt Integer tmpArray[i] tmpArray i temper[i] = t - 0.006*h temper[i] temper i t - 0.006*h t 0.006*h 0.006 h if(dt > Math.abs(temper[i] - a)){
				dt = Math.abs(temper[i] - a);
				index = i;
			} dt > Math.abs(temper[i] - a) dt Math.abs(temper[i] - a) Math.abs Math temper[i] - a temper[i] temper i a {
				dt = Math.abs(temper[i] - a);
				index = i;
			} dt = Math.abs(temper[i] - a) dt Math.abs(temper[i] - a) Math.abs Math temper[i] - a temper[i] temper i a index = i index i System.out.println(index + 1) System.out.println System.out System System.out index + 1 index 1 String[] args args public class Main {

	/**
	 * @param args
	 * @throws IOException 
	 * @throws NumberFormatException 
	 */
	public static void main(String[] args) throws NumberFormatException, IOException {
		// TODO Auto-generated method stub
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		
		int n = Integer.parseInt(br.readLine());
		
		String[] tmpArray = br.readLine().split(" ");
		
		int t = Integer.parseInt(tmpArray[0]);
		int a = Integer.parseInt(tmpArray[1]);
		
		double temper[] = new double[n];
		
		tmpArray = br.readLine().split(" ");
		double dt = Double.MAX_VALUE;
		int index = -1;
				
		for(int i = 0; i < n; i++){
			int h = Integer.parseInt(tmpArray[i]);
			
			temper[i] = t - 0.006*h;
			
			if(dt > Math.abs(temper[i] - a)){
				dt = Math.abs(temper[i] - a);
				index = i;
			}
		}
		
		System.out.println(index + 1);
	}

} public class Main {

	/**
	 * @param args
	 * @throws IOException 
	 * @throws NumberFormatException 
	 */
	public static void main(String[] args) throws NumberFormatException, IOException {
		// TODO Auto-generated method stub
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		
		int n = Integer.parseInt(br.readLine());
		
		String[] tmpArray = br.readLine().split(" ");
		
		int t = Integer.parseInt(tmpArray[0]);
		int a = Integer.parseInt(tmpArray[1]);
		
		double temper[] = new double[n];
		
		tmpArray = br.readLine().split(" ");
		double dt = Double.MAX_VALUE;
		int index = -1;
				
		for(int i = 0; i < n; i++){
			int h = Integer.parseInt(tmpArray[i]);
			
			temper[i] = t - 0.006*h;
			
			if(dt > Math.abs(temper[i] - a)){
				dt = Math.abs(temper[i] - a);
				index = i;
			}
		}
		
		System.out.println(index + 1);
	}

} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;


public class Main {

	/**
	 * @param args
	 * @throws IOException 
	 * @throws NumberFormatException 
	 */
	public static void main(String[] args) throws NumberFormatException, IOException {
		// TODO Auto-generated method stub
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		
		int n = Integer.parseInt(br.readLine());
		
		String[] tmpArray = br.readLine().split(" ");
		
		int t = Integer.parseInt(tmpArray[0]);
		int a = Integer.parseInt(tmpArray[1]);
		
		double temper[] = new double[n];
		
		tmpArray = br.readLine().split(" ");
		double dt = Double.MAX_VALUE;
		int index = -1;
				
		for(int i = 0; i < n; i++){
			int h = Integer.parseInt(tmpArray[i]);
			
			temper[i] = t - 0.006*h;
			
			if(dt > Math.abs(temper[i] - a)){
				dt = Math.abs(temper[i] - a);
				index = i;
			}
		}
		
		System.out.println(index + 1);
	}

}
