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.nextDouble();
      double A = sc.nextDouble();
      double[] H = new double[N];
      double min = (double)1000;
      int ans =0;
      for (int i=0; i<N; i++) {
        H[i] = Math.abs((double)T - sc.nextDouble() * 0.006 -A);
        min = Math.min(H[i],min);
      }
      for (int i=0; i<N; i++) {
        if(H[i] == min) {
          ans = i+1;
          break;
        }
      }
      System.out.println(ans);
    }
} 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.nextDouble();
      double A = sc.nextDouble();
      double[] H = new double[N];
      double min = (double)1000;
      int ans =0;
      for (int i=0; i<N; i++) {
        H[i] = Math.abs((double)T - sc.nextDouble() * 0.006 -A);
        min = Math.min(H[i],min);
      }
      for (int i=0; i<N; i++) {
        if(H[i] == min) {
          ans = i+1;
          break;
        }
      }
      System.out.println(ans);
    }
} Main public static void main(String[] args) {
      Scanner sc =new Scanner(System.in);
      int N = sc.nextInt();
      double T = sc.nextDouble();
      double A = sc.nextDouble();
      double[] H = new double[N];
      double min = (double)1000;
      int ans =0;
      for (int i=0; i<N; i++) {
        H[i] = Math.abs((double)T - sc.nextDouble() * 0.006 -A);
        min = Math.min(H[i],min);
      }
      for (int i=0; i<N; i++) {
        if(H[i] == min) {
          ans = i+1;
          break;
        }
      }
      System.out.println(ans);
    } main {
      Scanner sc =new Scanner(System.in);
      int N = sc.nextInt();
      double T = sc.nextDouble();
      double A = sc.nextDouble();
      double[] H = new double[N];
      double min = (double)1000;
      int ans =0;
      for (int i=0; i<N; i++) {
        H[i] = Math.abs((double)T - sc.nextDouble() * 0.006 -A);
        min = Math.min(H[i],min);
      }
      for (int i=0; i<N; i++) {
        if(H[i] == min) {
          ans = i+1;
          break;
        }
      }
      System.out.println(ans);
    } Scanner sc =new Scanner(System.in); sc new Scanner(System.in) int N = sc.nextInt(); N sc.nextInt() sc.nextInt sc double T = sc.nextDouble(); T sc.nextDouble() sc.nextDouble sc double A = sc.nextDouble(); A sc.nextDouble() sc.nextDouble sc double[] H = new double[N]; H new double[N] N double min = (double)1000; min (double)1000 int ans =0; ans 0 for (int i=0; i<N; i++) {
        H[i] = Math.abs((double)T - sc.nextDouble() * 0.006 -A);
        min = Math.min(H[i],min);
      } int i=0; int i=0; i 0 i<N i N i++ i++ i {
        H[i] = Math.abs((double)T - sc.nextDouble() * 0.006 -A);
        min = Math.min(H[i],min);
      } {
        H[i] = Math.abs((double)T - sc.nextDouble() * 0.006 -A);
        min = Math.min(H[i],min);
      } H[i] = Math.abs((double)T - sc.nextDouble() * 0.006 -A) H[i] H i Math.abs((double)T - sc.nextDouble() * 0.006 -A) Math.abs Math (double)T - sc.nextDouble() * 0.006 -A (double)T - sc.nextDouble() * 0.006 -A (double)T sc.nextDouble() * 0.006 sc.nextDouble() sc.nextDouble sc 0.006 A min = Math.min(H[i],min) min Math.min(H[i],min) Math.min Math H[i] H i min for (int i=0; i<N; i++) {
        if(H[i] == min) {
          ans = i+1;
          break;
        }
      } int i=0; int i=0; i 0 i<N i N i++ i++ i {
        if(H[i] == min) {
          ans = i+1;
          break;
        }
      } {
        if(H[i] == min) {
          ans = i+1;
          break;
        }
      } if(H[i] == min) {
          ans = i+1;
          break;
        } H[i] == min H[i] H i min {
          ans = i+1;
          break;
        } ans = i+1 ans i+1 i 1 break; System.out.println(ans) System.out.println System.out System System.out ans 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.nextDouble();
      double A = sc.nextDouble();
      double[] H = new double[N];
      double min = (double)1000;
      int ans =0;
      for (int i=0; i<N; i++) {
        H[i] = Math.abs((double)T - sc.nextDouble() * 0.006 -A);
        min = Math.min(H[i],min);
      }
      for (int i=0; i<N; i++) {
        if(H[i] == min) {
          ans = i+1;
          break;
        }
      }
      System.out.println(ans);
    }
} public class Main {
	public static void main(String[] args) {
      Scanner sc =new Scanner(System.in);
      int N = sc.nextInt();
      double T = sc.nextDouble();
      double A = sc.nextDouble();
      double[] H = new double[N];
      double min = (double)1000;
      int ans =0;
      for (int i=0; i<N; i++) {
        H[i] = Math.abs((double)T - sc.nextDouble() * 0.006 -A);
        min = Math.min(H[i],min);
      }
      for (int i=0; i<N; i++) {
        if(H[i] == min) {
          ans = i+1;
          break;
        }
      }
      System.out.println(ans);
    }
} 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.nextDouble();
      double A = sc.nextDouble();
      double[] H = new double[N];
      double min = (double)1000;
      int ans =0;
      for (int i=0; i<N; i++) {
        H[i] = Math.abs((double)T - sc.nextDouble() * 0.006 -A);
        min = Math.min(H[i],min);
      }
      for (int i=0; i<N; i++) {
        if(H[i] == min) {
          ans = i+1;
          break;
        }
      }
      System.out.println(ans);
    }
}