import java.util.*;

public class Main{
  
  public static void main (String[] args){
    
    Main main = new Main ();
    main.solve();
  }
  
  private void solve(){
    
    Scanner scanner = new Scanner (System.in);
    
    int N = scanner.nextInt();
    int T = scanner.nextInt();
    int A = scanner.nextInt();
    
    double nearOndo =0;
    int nearIndex=26;
    for (int index=0; index<N; index++){
      int temp = scanner.nextInt();
      double ondo = T-(temp*0.006);
      if (index==0){
        nearOndo=ondo;
        nearIndex=index;
   	  }else if (Math.abs(ondo-A)<Math.abs(nearOndo-A)){
        nearOndo=ondo;
        nearIndex=index;
      }
    }
    System.out.println(nearIndex+1);
  }
} import java.util.*; util.* java public class Main{
  
  public static void main (String[] args){
    
    Main main = new Main ();
    main.solve();
  }
  
  private void solve(){
    
    Scanner scanner = new Scanner (System.in);
    
    int N = scanner.nextInt();
    int T = scanner.nextInt();
    int A = scanner.nextInt();
    
    double nearOndo =0;
    int nearIndex=26;
    for (int index=0; index<N; index++){
      int temp = scanner.nextInt();
      double ondo = T-(temp*0.006);
      if (index==0){
        nearOndo=ondo;
        nearIndex=index;
   	  }else if (Math.abs(ondo-A)<Math.abs(nearOndo-A)){
        nearOndo=ondo;
        nearIndex=index;
      }
    }
    System.out.println(nearIndex+1);
  }
} Main public static void main (String[] args){
    
    Main main = new Main ();
    main.solve();
  } main {
    
    Main main = new Main ();
    main.solve();
  } Main main = new Main (); main new Main () main.solve() main.solve main String[] args args private void solve(){
    
    Scanner scanner = new Scanner (System.in);
    
    int N = scanner.nextInt();
    int T = scanner.nextInt();
    int A = scanner.nextInt();
    
    double nearOndo =0;
    int nearIndex=26;
    for (int index=0; index<N; index++){
      int temp = scanner.nextInt();
      double ondo = T-(temp*0.006);
      if (index==0){
        nearOndo=ondo;
        nearIndex=index;
   	  }else if (Math.abs(ondo-A)<Math.abs(nearOndo-A)){
        nearOndo=ondo;
        nearIndex=index;
      }
    }
    System.out.println(nearIndex+1);
  } solve {
    
    Scanner scanner = new Scanner (System.in);
    
    int N = scanner.nextInt();
    int T = scanner.nextInt();
    int A = scanner.nextInt();
    
    double nearOndo =0;
    int nearIndex=26;
    for (int index=0; index<N; index++){
      int temp = scanner.nextInt();
      double ondo = T-(temp*0.006);
      if (index==0){
        nearOndo=ondo;
        nearIndex=index;
   	  }else if (Math.abs(ondo-A)<Math.abs(nearOndo-A)){
        nearOndo=ondo;
        nearIndex=index;
      }
    }
    System.out.println(nearIndex+1);
  } Scanner scanner = new Scanner (System.in); scanner new Scanner (System.in) int N = scanner.nextInt(); N scanner.nextInt() scanner.nextInt scanner int T = scanner.nextInt(); T scanner.nextInt() scanner.nextInt scanner int A = scanner.nextInt(); A scanner.nextInt() scanner.nextInt scanner double nearOndo =0; nearOndo 0 int nearIndex=26; nearIndex 26 for (int index=0; index<N; index++){
      int temp = scanner.nextInt();
      double ondo = T-(temp*0.006);
      if (index==0){
        nearOndo=ondo;
        nearIndex=index;
   	  }else if (Math.abs(ondo-A)<Math.abs(nearOndo-A)){
        nearOndo=ondo;
        nearIndex=index;
      }
    } int index=0; int index=0; index 0 index<N index N index++ index++ index {
      int temp = scanner.nextInt();
      double ondo = T-(temp*0.006);
      if (index==0){
        nearOndo=ondo;
        nearIndex=index;
   	  }else if (Math.abs(ondo-A)<Math.abs(nearOndo-A)){
        nearOndo=ondo;
        nearIndex=index;
      }
    } {
      int temp = scanner.nextInt();
      double ondo = T-(temp*0.006);
      if (index==0){
        nearOndo=ondo;
        nearIndex=index;
   	  }else if (Math.abs(ondo-A)<Math.abs(nearOndo-A)){
        nearOndo=ondo;
        nearIndex=index;
      }
    } int temp = scanner.nextInt(); temp scanner.nextInt() scanner.nextInt scanner double ondo = T-(temp*0.006); ondo T-(temp*0.006) T (temp*0.006) temp 0.006 if (index==0){
        nearOndo=ondo;
        nearIndex=index;
   	  }else if (Math.abs(ondo-A)<Math.abs(nearOndo-A)){
        nearOndo=ondo;
        nearIndex=index;
      } index==0 index 0 {
        nearOndo=ondo;
        nearIndex=index;
   	  } nearOndo=ondo nearOndo ondo nearIndex=index nearIndex index if (Math.abs(ondo-A)<Math.abs(nearOndo-A)){
        nearOndo=ondo;
        nearIndex=index;
      } Math.abs(ondo-A)<Math.abs(nearOndo-A) Math.abs(ondo-A) Math.abs Math ondo-A ondo A Math.abs(nearOndo-A) Math.abs Math nearOndo-A nearOndo A {
        nearOndo=ondo;
        nearIndex=index;
      } nearOndo=ondo nearOndo ondo nearIndex=index nearIndex index System.out.println(nearIndex+1) System.out.println System.out System System.out nearIndex+1 nearIndex 1 public class Main{
  
  public static void main (String[] args){
    
    Main main = new Main ();
    main.solve();
  }
  
  private void solve(){
    
    Scanner scanner = new Scanner (System.in);
    
    int N = scanner.nextInt();
    int T = scanner.nextInt();
    int A = scanner.nextInt();
    
    double nearOndo =0;
    int nearIndex=26;
    for (int index=0; index<N; index++){
      int temp = scanner.nextInt();
      double ondo = T-(temp*0.006);
      if (index==0){
        nearOndo=ondo;
        nearIndex=index;
   	  }else if (Math.abs(ondo-A)<Math.abs(nearOndo-A)){
        nearOndo=ondo;
        nearIndex=index;
      }
    }
    System.out.println(nearIndex+1);
  }
} public class Main{
  
  public static void main (String[] args){
    
    Main main = new Main ();
    main.solve();
  }
  
  private void solve(){
    
    Scanner scanner = new Scanner (System.in);
    
    int N = scanner.nextInt();
    int T = scanner.nextInt();
    int A = scanner.nextInt();
    
    double nearOndo =0;
    int nearIndex=26;
    for (int index=0; index<N; index++){
      int temp = scanner.nextInt();
      double ondo = T-(temp*0.006);
      if (index==0){
        nearOndo=ondo;
        nearIndex=index;
   	  }else if (Math.abs(ondo-A)<Math.abs(nearOndo-A)){
        nearOndo=ondo;
        nearIndex=index;
      }
    }
    System.out.println(nearIndex+1);
  }
} Main
import java.util.*;

public class Main{
  
  public static void main (String[] args){
    
    Main main = new Main ();
    main.solve();
  }
  
  private void solve(){
    
    Scanner scanner = new Scanner (System.in);
    
    int N = scanner.nextInt();
    int T = scanner.nextInt();
    int A = scanner.nextInt();
    
    double nearOndo =0;
    int nearIndex=26;
    for (int index=0; index<N; index++){
      int temp = scanner.nextInt();
      double ondo = T-(temp*0.006);
      if (index==0){
        nearOndo=ondo;
        nearIndex=index;
   	  }else if (Math.abs(ondo-A)<Math.abs(nearOndo-A)){
        nearOndo=ondo;
        nearIndex=index;
      }
    }
    System.out.println(nearIndex+1);
  }
}