import java.util.*;

class Main{
  public static void main(String args[]){
    Scanner sc = new Scanner(System.in);
    int n = sc.nextInt();
    int t = sc.nextInt();
	int a = sc.nextInt();
    double h1 = 999;
    int answer = 0;
    for(int i = 0; i < n; i++){
      int h = sc.nextInt();
	  double b = t-h*0.006;
	  if(Math.abs(b-a) < h1){
	  	h1 = Math.abs(b-a);
		answer = i+1;
	  }
    }
    System.out.print(answer);
  }
} import java.util.*; util.* java class Main{
  public static void main(String args[]){
    Scanner sc = new Scanner(System.in);
    int n = sc.nextInt();
    int t = sc.nextInt();
	int a = sc.nextInt();
    double h1 = 999;
    int answer = 0;
    for(int i = 0; i < n; i++){
      int h = sc.nextInt();
	  double b = t-h*0.006;
	  if(Math.abs(b-a) < h1){
	  	h1 = Math.abs(b-a);
		answer = i+1;
	  }
    }
    System.out.print(answer);
  }
} Main public static void main(String args[]){
    Scanner sc = new Scanner(System.in);
    int n = sc.nextInt();
    int t = sc.nextInt();
	int a = sc.nextInt();
    double h1 = 999;
    int answer = 0;
    for(int i = 0; i < n; i++){
      int h = sc.nextInt();
	  double b = t-h*0.006;
	  if(Math.abs(b-a) < h1){
	  	h1 = Math.abs(b-a);
		answer = i+1;
	  }
    }
    System.out.print(answer);
  } main {
    Scanner sc = new Scanner(System.in);
    int n = sc.nextInt();
    int t = sc.nextInt();
	int a = sc.nextInt();
    double h1 = 999;
    int answer = 0;
    for(int i = 0; i < n; i++){
      int h = sc.nextInt();
	  double b = t-h*0.006;
	  if(Math.abs(b-a) < h1){
	  	h1 = Math.abs(b-a);
		answer = i+1;
	  }
    }
    System.out.print(answer);
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc int t = sc.nextInt(); t sc.nextInt() sc.nextInt sc int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc double h1 = 999; h1 999 int answer = 0; answer 0 for(int i = 0; i < n; i++){
      int h = sc.nextInt();
	  double b = t-h*0.006;
	  if(Math.abs(b-a) < h1){
	  	h1 = Math.abs(b-a);
		answer = i+1;
	  }
    } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
      int h = sc.nextInt();
	  double b = t-h*0.006;
	  if(Math.abs(b-a) < h1){
	  	h1 = Math.abs(b-a);
		answer = i+1;
	  }
    } {
      int h = sc.nextInt();
	  double b = t-h*0.006;
	  if(Math.abs(b-a) < h1){
	  	h1 = Math.abs(b-a);
		answer = i+1;
	  }
    } int h = sc.nextInt(); h sc.nextInt() sc.nextInt sc double b = t-h*0.006; b t-h*0.006 t h*0.006 h 0.006 if(Math.abs(b-a) < h1){
	  	h1 = Math.abs(b-a);
		answer = i+1;
	  } Math.abs(b-a) < h1 Math.abs(b-a) Math.abs Math b-a b a h1 {
	  	h1 = Math.abs(b-a);
		answer = i+1;
	  } h1 = Math.abs(b-a) h1 Math.abs(b-a) Math.abs Math b-a b a answer = i+1 answer i+1 i 1 System.out.print(answer) System.out.print System.out System System.out answer String args[] args
import java.util.*;

class Main{
  public static void main(String args[]){
    Scanner sc = new Scanner(System.in);
    int n = sc.nextInt();
    int t = sc.nextInt();
	int a = sc.nextInt();
    double h1 = 999;
    int answer = 0;
    for(int i = 0; i < n; i++){
      int h = sc.nextInt();
	  double b = t-h*0.006;
	  if(Math.abs(b-a) < h1){
	  	h1 = Math.abs(b-a);
		answer = i+1;
	  }
    }
    System.out.print(answer);
  }
}
