import java.util.*;
public 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();
    int[] H = new int[N];
    double min = 100000L;
    int ansIndex = -1;
    for(int i = 0; i < N; i++){
      H[i] = sc.nextInt();
      double tmp = Math.abs(A - T + H[i] * 0.006);
      if(min > tmp){
        min = tmp;
        ansIndex = i;
      }
    }
    System.out.println(ansIndex + 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();
    int T = sc.nextInt();
    int A = sc.nextInt();
    int[] H = new int[N];
    double min = 100000L;
    int ansIndex = -1;
    for(int i = 0; i < N; i++){
      H[i] = sc.nextInt();
      double tmp = Math.abs(A - T + H[i] * 0.006);
      if(min > tmp){
        min = tmp;
        ansIndex = i;
      }
    }
    System.out.println(ansIndex + 1);
  }
} 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();
    int[] H = new int[N];
    double min = 100000L;
    int ansIndex = -1;
    for(int i = 0; i < N; i++){
      H[i] = sc.nextInt();
      double tmp = Math.abs(A - T + H[i] * 0.006);
      if(min > tmp){
        min = tmp;
        ansIndex = i;
      }
    }
    System.out.println(ansIndex + 1);
  } main {
    Scanner sc = new Scanner(System.in);
    int N = sc.nextInt();
    int T = sc.nextInt();
    int A = sc.nextInt();
    int[] H = new int[N];
    double min = 100000L;
    int ansIndex = -1;
    for(int i = 0; i < N; i++){
      H[i] = sc.nextInt();
      double tmp = Math.abs(A - T + H[i] * 0.006);
      if(min > tmp){
        min = tmp;
        ansIndex = i;
      }
    }
    System.out.println(ansIndex + 1);
  } 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[] H = new int[N]; H new int[N] N double min = 100000L; min 100000L int ansIndex = -1; ansIndex -1 1 for(int i = 0; i < N; i++){
      H[i] = sc.nextInt();
      double tmp = Math.abs(A - T + H[i] * 0.006);
      if(min > tmp){
        min = tmp;
        ansIndex = i;
      }
    } int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
      H[i] = sc.nextInt();
      double tmp = Math.abs(A - T + H[i] * 0.006);
      if(min > tmp){
        min = tmp;
        ansIndex = i;
      }
    } {
      H[i] = sc.nextInt();
      double tmp = Math.abs(A - T + H[i] * 0.006);
      if(min > tmp){
        min = tmp;
        ansIndex = i;
      }
    } H[i] = sc.nextInt() H[i] H i sc.nextInt() sc.nextInt sc double tmp = Math.abs(A - T + H[i] * 0.006); tmp Math.abs(A - T + H[i] * 0.006) Math.abs Math A - T + H[i] * 0.006 A - T A T H[i] * 0.006 H[i] H i 0.006 if(min > tmp){
        min = tmp;
        ansIndex = i;
      } min > tmp min tmp {
        min = tmp;
        ansIndex = i;
      } min = tmp min tmp ansIndex = i ansIndex i System.out.println(ansIndex + 1) System.out.println System.out System System.out ansIndex + 1 ansIndex 1 String[] args args public 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();
    int[] H = new int[N];
    double min = 100000L;
    int ansIndex = -1;
    for(int i = 0; i < N; i++){
      H[i] = sc.nextInt();
      double tmp = Math.abs(A - T + H[i] * 0.006);
      if(min > tmp){
        min = tmp;
        ansIndex = i;
      }
    }
    System.out.println(ansIndex + 1);
  }
} public 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();
    int[] H = new int[N];
    double min = 100000L;
    int ansIndex = -1;
    for(int i = 0; i < N; i++){
      H[i] = sc.nextInt();
      double tmp = Math.abs(A - T + H[i] * 0.006);
      if(min > tmp){
        min = tmp;
        ansIndex = i;
      }
    }
    System.out.println(ansIndex + 1);
  }
} Main
import java.util.*;
public 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();
    int[] H = new int[N];
    double min = 100000L;
    int ansIndex = -1;
    for(int i = 0; i < N; i++){
      H[i] = sc.nextInt();
      double tmp = Math.abs(A - T + H[i] * 0.006);
      if(min > tmp){
        min = tmp;
        ansIndex = i;
      }
    }
    System.out.println(ansIndex + 1);
  }
}