import java.util.*;
import java.io.*;

public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    //Map<String, Integer> map = new HashMap<String, Integer>();
    int n = sc.nextInt();
    int t = sc.nextInt();
    int a = sc.nextInt();
    int findID = 0;
    double min = 1000000.0;

    for(int i = 0; i < n; i++){
      int h = sc.nextInt();
      double d = Math.abs(a-(t-0.006*h));
      if(min >= d){
        min = d;
        findID = i+1;
      }
    }

    System.out.println(findID);

  }
} import java.util.*; util.* java import java.io.*; io.* java public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    //Map<String, Integer> map = new HashMap<String, Integer>();
    int n = sc.nextInt();
    int t = sc.nextInt();
    int a = sc.nextInt();
    int findID = 0;
    double min = 1000000.0;

    for(int i = 0; i < n; i++){
      int h = sc.nextInt();
      double d = Math.abs(a-(t-0.006*h));
      if(min >= d){
        min = d;
        findID = i+1;
      }
    }

    System.out.println(findID);

  }
} Main public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    //Map<String, Integer> map = new HashMap<String, Integer>();
    int n = sc.nextInt();
    int t = sc.nextInt();
    int a = sc.nextInt();
    int findID = 0;
    double min = 1000000.0;

    for(int i = 0; i < n; i++){
      int h = sc.nextInt();
      double d = Math.abs(a-(t-0.006*h));
      if(min >= d){
        min = d;
        findID = i+1;
      }
    }

    System.out.println(findID);

  } main {
    Scanner sc = new Scanner(System.in);
    //Map<String, Integer> map = new HashMap<String, Integer>();
    int n = sc.nextInt();
    int t = sc.nextInt();
    int a = sc.nextInt();
    int findID = 0;
    double min = 1000000.0;

    for(int i = 0; i < n; i++){
      int h = sc.nextInt();
      double d = Math.abs(a-(t-0.006*h));
      if(min >= d){
        min = d;
        findID = i+1;
      }
    }

    System.out.println(findID);

  } 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 int findID = 0; findID 0 double min = 1000000.0; min 1000000.0 for(int i = 0; i < n; i++){
      int h = sc.nextInt();
      double d = Math.abs(a-(t-0.006*h));
      if(min >= d){
        min = d;
        findID = i+1;
      }
    } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
      int h = sc.nextInt();
      double d = Math.abs(a-(t-0.006*h));
      if(min >= d){
        min = d;
        findID = i+1;
      }
    } {
      int h = sc.nextInt();
      double d = Math.abs(a-(t-0.006*h));
      if(min >= d){
        min = d;
        findID = i+1;
      }
    } int h = sc.nextInt(); h sc.nextInt() sc.nextInt sc double d = Math.abs(a-(t-0.006*h)); d Math.abs(a-(t-0.006*h)) Math.abs Math a-(t-0.006*h) a (t-0.006*h) t 0.006*h 0.006 h if(min >= d){
        min = d;
        findID = i+1;
      } min >= d min d {
        min = d;
        findID = i+1;
      } min = d min d findID = i+1 findID i+1 i 1 System.out.println(findID) System.out.println System.out System System.out findID String[] args args public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    //Map<String, Integer> map = new HashMap<String, Integer>();
    int n = sc.nextInt();
    int t = sc.nextInt();
    int a = sc.nextInt();
    int findID = 0;
    double min = 1000000.0;

    for(int i = 0; i < n; i++){
      int h = sc.nextInt();
      double d = Math.abs(a-(t-0.006*h));
      if(min >= d){
        min = d;
        findID = i+1;
      }
    }

    System.out.println(findID);

  }
} public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    //Map<String, Integer> map = new HashMap<String, Integer>();
    int n = sc.nextInt();
    int t = sc.nextInt();
    int a = sc.nextInt();
    int findID = 0;
    double min = 1000000.0;

    for(int i = 0; i < n; i++){
      int h = sc.nextInt();
      double d = Math.abs(a-(t-0.006*h));
      if(min >= d){
        min = d;
        findID = i+1;
      }
    }

    System.out.println(findID);

  }
} Main
import java.util.*;
import java.io.*;

public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    //Map<String, Integer> map = new HashMap<String, Integer>();
    int n = sc.nextInt();
    int t = sc.nextInt();
    int a = sc.nextInt();
    int findID = 0;
    double min = 1000000.0;

    for(int i = 0; i < n; i++){
      int h = sc.nextInt();
      double d = Math.abs(a-(t-0.006*h));
      if(min >= d){
        min = d;
        findID = i+1;
      }
    }

    System.out.println(findID);

  }
}
