import java.util.*;
import java.lang.*;
 
public class Main{
	public static void main(String[] args){
    	Scanner scan = new Scanner(System.in);
      	int n = scan.nextInt(); //number of spot
      	int T = scan.nextInt(); //state temperature
      	int A = scan.nextInt(); // temperature that princess wants
      	int[] H = new int[n]; // list of height
      	for (int i = 0; i < n; i++){
        	H[i] = scan.nextInt();
        }
      	double[] t = new double[n]; //list of temperature
      	for (int i = 0; i < n; i++){
        	t[i] = T - 0.006 * H[i];
        }
      	double rest = Math.abs(t[0]-A);
      	int key = 0;
      	for (int i = 0; i < n; i++){
        	if(rest > Math.abs(t[i]-A)){
            	rest = Math.abs(t[i]-A);
              	key = i;
            }
        }
      	System.out.print(key + 1);
    }
} import java.util.*; util.* java import java.lang.*; lang.* java public class Main{
	public static void main(String[] args){
    	Scanner scan = new Scanner(System.in);
      	int n = scan.nextInt(); //number of spot
      	int T = scan.nextInt(); //state temperature
      	int A = scan.nextInt(); // temperature that princess wants
      	int[] H = new int[n]; // list of height
      	for (int i = 0; i < n; i++){
        	H[i] = scan.nextInt();
        }
      	double[] t = new double[n]; //list of temperature
      	for (int i = 0; i < n; i++){
        	t[i] = T - 0.006 * H[i];
        }
      	double rest = Math.abs(t[0]-A);
      	int key = 0;
      	for (int i = 0; i < n; i++){
        	if(rest > Math.abs(t[i]-A)){
            	rest = Math.abs(t[i]-A);
              	key = i;
            }
        }
      	System.out.print(key + 1);
    }
} Main public static void main(String[] args){
    	Scanner scan = new Scanner(System.in);
      	int n = scan.nextInt(); //number of spot
      	int T = scan.nextInt(); //state temperature
      	int A = scan.nextInt(); // temperature that princess wants
      	int[] H = new int[n]; // list of height
      	for (int i = 0; i < n; i++){
        	H[i] = scan.nextInt();
        }
      	double[] t = new double[n]; //list of temperature
      	for (int i = 0; i < n; i++){
        	t[i] = T - 0.006 * H[i];
        }
      	double rest = Math.abs(t[0]-A);
      	int key = 0;
      	for (int i = 0; i < n; i++){
        	if(rest > Math.abs(t[i]-A)){
            	rest = Math.abs(t[i]-A);
              	key = i;
            }
        }
      	System.out.print(key + 1);
    } main {
    	Scanner scan = new Scanner(System.in);
      	int n = scan.nextInt(); //number of spot
      	int T = scan.nextInt(); //state temperature
      	int A = scan.nextInt(); // temperature that princess wants
      	int[] H = new int[n]; // list of height
      	for (int i = 0; i < n; i++){
        	H[i] = scan.nextInt();
        }
      	double[] t = new double[n]; //list of temperature
      	for (int i = 0; i < n; i++){
        	t[i] = T - 0.006 * H[i];
        }
      	double rest = Math.abs(t[0]-A);
      	int key = 0;
      	for (int i = 0; i < n; i++){
        	if(rest > Math.abs(t[i]-A)){
            	rest = Math.abs(t[i]-A);
              	key = i;
            }
        }
      	System.out.print(key + 1);
    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int n = scan.nextInt(); n scan.nextInt() scan.nextInt scan int T = scan.nextInt(); T scan.nextInt() scan.nextInt scan int A = scan.nextInt(); A scan.nextInt() scan.nextInt scan int[] H = new int[n]; H new int[n] n for (int i = 0; i < n; i++){
        	H[i] = scan.nextInt();
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
        	H[i] = scan.nextInt();
        } {
        	H[i] = scan.nextInt();
        } H[i] = scan.nextInt() H[i] H i scan.nextInt() scan.nextInt scan double[] t = new double[n]; t new double[n] n for (int i = 0; i < n; i++){
        	t[i] = T - 0.006 * H[i];
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
        	t[i] = T - 0.006 * H[i];
        } {
        	t[i] = T - 0.006 * H[i];
        } t[i] = T - 0.006 * H[i] t[i] t i T - 0.006 * H[i] T 0.006 * H[i] 0.006 H[i] H i double rest = Math.abs(t[0]-A); rest Math.abs(t[0]-A) Math.abs Math t[0]-A t[0] t 0 A int key = 0; key 0 for (int i = 0; i < n; i++){
        	if(rest > Math.abs(t[i]-A)){
            	rest = Math.abs(t[i]-A);
              	key = i;
            }
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
        	if(rest > Math.abs(t[i]-A)){
            	rest = Math.abs(t[i]-A);
              	key = i;
            }
        } {
        	if(rest > Math.abs(t[i]-A)){
            	rest = Math.abs(t[i]-A);
              	key = i;
            }
        } if(rest > Math.abs(t[i]-A)){
            	rest = Math.abs(t[i]-A);
              	key = i;
            } rest > Math.abs(t[i]-A) rest Math.abs(t[i]-A) Math.abs Math t[i]-A t[i] t i A {
            	rest = Math.abs(t[i]-A);
              	key = i;
            } rest = Math.abs(t[i]-A) rest Math.abs(t[i]-A) Math.abs Math t[i]-A t[i] t i A key = i key i System.out.print(key + 1) System.out.print System.out System System.out key + 1 key 1 String[] args args public class Main{
	public static void main(String[] args){
    	Scanner scan = new Scanner(System.in);
      	int n = scan.nextInt(); //number of spot
      	int T = scan.nextInt(); //state temperature
      	int A = scan.nextInt(); // temperature that princess wants
      	int[] H = new int[n]; // list of height
      	for (int i = 0; i < n; i++){
        	H[i] = scan.nextInt();
        }
      	double[] t = new double[n]; //list of temperature
      	for (int i = 0; i < n; i++){
        	t[i] = T - 0.006 * H[i];
        }
      	double rest = Math.abs(t[0]-A);
      	int key = 0;
      	for (int i = 0; i < n; i++){
        	if(rest > Math.abs(t[i]-A)){
            	rest = Math.abs(t[i]-A);
              	key = i;
            }
        }
      	System.out.print(key + 1);
    }
} public class Main{
	public static void main(String[] args){
    	Scanner scan = new Scanner(System.in);
      	int n = scan.nextInt(); //number of spot
      	int T = scan.nextInt(); //state temperature
      	int A = scan.nextInt(); // temperature that princess wants
      	int[] H = new int[n]; // list of height
      	for (int i = 0; i < n; i++){
        	H[i] = scan.nextInt();
        }
      	double[] t = new double[n]; //list of temperature
      	for (int i = 0; i < n; i++){
        	t[i] = T - 0.006 * H[i];
        }
      	double rest = Math.abs(t[0]-A);
      	int key = 0;
      	for (int i = 0; i < n; i++){
        	if(rest > Math.abs(t[i]-A)){
            	rest = Math.abs(t[i]-A);
              	key = i;
            }
        }
      	System.out.print(key + 1);
    }
} Main
import java.util.*;
import java.lang.*;
 
public class Main{
	public static void main(String[] args){
    	Scanner scan = new Scanner(System.in);
      	int n = scan.nextInt(); //number of spot
      	int T = scan.nextInt(); //state temperature
      	int A = scan.nextInt(); // temperature that princess wants
      	int[] H = new int[n]; // list of height
      	for (int i = 0; i < n; i++){
        	H[i] = scan.nextInt();
        }
      	double[] t = new double[n]; //list of temperature
      	for (int i = 0; i < n; i++){
        	t[i] = T - 0.006 * H[i];
        }
      	double rest = Math.abs(t[0]-A);
      	int key = 0;
      	for (int i = 0; i < n; i++){
        	if(rest > Math.abs(t[i]-A)){
            	rest = Math.abs(t[i]-A);
              	key = i;
            }
        }
      	System.out.print(key + 1);
    }
}