import java.util.*;

public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int N = sc.nextInt();
    double T = sc.nextInt();
    double A = sc.nextInt();
    double f = 12000;
    int result = 0;
    for(int i=0; i<N; i++){
      double H = sc.nextInt();
      double avg = T - H*0.006;
      if(f > Math.abs(A - avg)){
        f = Math.abs(A - avg);
        result = i;
      }
    }
    System.out.println(result + 1);
  }
} import java.util.*; util.* java public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int N = sc.nextInt();
    double T = sc.nextInt();
    double A = sc.nextInt();
    double f = 12000;
    int result = 0;
    for(int i=0; i<N; i++){
      double H = sc.nextInt();
      double avg = T - H*0.006;
      if(f > Math.abs(A - avg)){
        f = Math.abs(A - avg);
        result = i;
      }
    }
    System.out.println(result + 1);
  }
} Main public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int N = sc.nextInt();
    double T = sc.nextInt();
    double A = sc.nextInt();
    double f = 12000;
    int result = 0;
    for(int i=0; i<N; i++){
      double H = sc.nextInt();
      double avg = T - H*0.006;
      if(f > Math.abs(A - avg)){
        f = Math.abs(A - avg);
        result = i;
      }
    }
    System.out.println(result + 1);
  } main {
    Scanner sc = new Scanner(System.in);
    int N = sc.nextInt();
    double T = sc.nextInt();
    double A = sc.nextInt();
    double f = 12000;
    int result = 0;
    for(int i=0; i<N; i++){
      double H = sc.nextInt();
      double avg = T - H*0.006;
      if(f > Math.abs(A - avg)){
        f = Math.abs(A - avg);
        result = i;
      }
    }
    System.out.println(result + 1);
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int N = sc.nextInt(); N sc.nextInt() sc.nextInt sc double T = sc.nextInt(); T sc.nextInt() sc.nextInt sc double A = sc.nextInt(); A sc.nextInt() sc.nextInt sc double f = 12000; f 12000 int result = 0; result 0 for(int i=0; i<N; i++){
      double H = sc.nextInt();
      double avg = T - H*0.006;
      if(f > Math.abs(A - avg)){
        f = Math.abs(A - avg);
        result = i;
      }
    } int i=0; int i=0; i 0 i<N i N i++ i++ i {
      double H = sc.nextInt();
      double avg = T - H*0.006;
      if(f > Math.abs(A - avg)){
        f = Math.abs(A - avg);
        result = i;
      }
    } {
      double H = sc.nextInt();
      double avg = T - H*0.006;
      if(f > Math.abs(A - avg)){
        f = Math.abs(A - avg);
        result = i;
      }
    } double H = sc.nextInt(); H sc.nextInt() sc.nextInt sc double avg = T - H*0.006; avg T - H*0.006 T H*0.006 H 0.006 if(f > Math.abs(A - avg)){
        f = Math.abs(A - avg);
        result = i;
      } f > Math.abs(A - avg) f Math.abs(A - avg) Math.abs Math A - avg A avg {
        f = Math.abs(A - avg);
        result = i;
      } f = Math.abs(A - avg) f Math.abs(A - avg) Math.abs Math A - avg A avg result = i result i System.out.println(result + 1) System.out.println System.out System System.out result + 1 result 1 String[] args args public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int N = sc.nextInt();
    double T = sc.nextInt();
    double A = sc.nextInt();
    double f = 12000;
    int result = 0;
    for(int i=0; i<N; i++){
      double H = sc.nextInt();
      double avg = T - H*0.006;
      if(f > Math.abs(A - avg)){
        f = Math.abs(A - avg);
        result = i;
      }
    }
    System.out.println(result + 1);
  }
} public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int N = sc.nextInt();
    double T = sc.nextInt();
    double A = sc.nextInt();
    double f = 12000;
    int result = 0;
    for(int i=0; i<N; i++){
      double H = sc.nextInt();
      double avg = T - H*0.006;
      if(f > Math.abs(A - avg)){
        f = Math.abs(A - avg);
        result = i;
      }
    }
    System.out.println(result + 1);
  }
} Main
import java.util.*;

public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int N = sc.nextInt();
    double T = sc.nextInt();
    double A = sc.nextInt();
    double f = 12000;
    int result = 0;
    for(int i=0; i<N; i++){
      double H = sc.nextInt();
      double avg = T - H*0.006;
      if(f > Math.abs(A - avg)){
        f = Math.abs(A - avg);
        result = i;
      }
    }
    System.out.println(result + 1);
  }
}