import java.util.*;

public class Main{
  public static void main(String[] args) {
    Scanner scan = new Scanner(System.in);

    int N = scan.nextInt();
    int T = scan.nextInt();
    int A = scan.nextInt();
    int H[];
    H = new int[N];
    double ansh = 10000000;
    int ans = 0;
    for (int i = 0;i<H.length ;i++ ) {
        H[i] = scan.nextInt();
    }

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

    int N = scan.nextInt();
    int T = scan.nextInt();
    int A = scan.nextInt();
    int H[];
    H = new int[N];
    double ansh = 10000000;
    int ans = 0;
    for (int i = 0;i<H.length ;i++ ) {
        H[i] = scan.nextInt();
    }

    for (int i = 0;i<H.length ;i++ ) {
        if (ansh > Math.abs(A-(T-(double)H[i]*0.006))) {
            ans = i;
            ansh = Math.abs(A-(T-(double)H[i]*0.006));
        }
    }
    System.out.println(ans+1);
  }
} Main public static void main(String[] args) {
    Scanner scan = new Scanner(System.in);

    int N = scan.nextInt();
    int T = scan.nextInt();
    int A = scan.nextInt();
    int H[];
    H = new int[N];
    double ansh = 10000000;
    int ans = 0;
    for (int i = 0;i<H.length ;i++ ) {
        H[i] = scan.nextInt();
    }

    for (int i = 0;i<H.length ;i++ ) {
        if (ansh > Math.abs(A-(T-(double)H[i]*0.006))) {
            ans = i;
            ansh = Math.abs(A-(T-(double)H[i]*0.006));
        }
    }
    System.out.println(ans+1);
  } main {
    Scanner scan = new Scanner(System.in);

    int N = scan.nextInt();
    int T = scan.nextInt();
    int A = scan.nextInt();
    int H[];
    H = new int[N];
    double ansh = 10000000;
    int ans = 0;
    for (int i = 0;i<H.length ;i++ ) {
        H[i] = scan.nextInt();
    }

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

    int N = scan.nextInt();
    int T = scan.nextInt();
    int A = scan.nextInt();
    int H[];
    H = new int[N];
    double ansh = 10000000;
    int ans = 0;
    for (int i = 0;i<H.length ;i++ ) {
        H[i] = scan.nextInt();
    }

    for (int i = 0;i<H.length ;i++ ) {
        if (ansh > Math.abs(A-(T-(double)H[i]*0.006))) {
            ans = i;
            ansh = Math.abs(A-(T-(double)H[i]*0.006));
        }
    }
    System.out.println(ans+1);
  }
} public class Main{
  public static void main(String[] args) {
    Scanner scan = new Scanner(System.in);

    int N = scan.nextInt();
    int T = scan.nextInt();
    int A = scan.nextInt();
    int H[];
    H = new int[N];
    double ansh = 10000000;
    int ans = 0;
    for (int i = 0;i<H.length ;i++ ) {
        H[i] = scan.nextInt();
    }

    for (int i = 0;i<H.length ;i++ ) {
        if (ansh > Math.abs(A-(T-(double)H[i]*0.006))) {
            ans = i;
            ansh = Math.abs(A-(T-(double)H[i]*0.006));
        }
    }
    System.out.println(ans+1);
  }
} Main
import java.util.*;

public class Main{
  public static void main(String[] args) {
    Scanner scan = new Scanner(System.in);

    int N = scan.nextInt();
    int T = scan.nextInt();
    int A = scan.nextInt();
    int H[];
    H = new int[N];
    double ansh = 10000000;
    int ans = 0;
    for (int i = 0;i<H.length ;i++ ) {
        H[i] = scan.nextInt();
    }

    for (int i = 0;i<H.length ;i++ ) {
        if (ansh > Math.abs(A-(T-(double)H[i]*0.006))) {
            ans = i;
            ansh = Math.abs(A-(T-(double)H[i]*0.006));
        }
    }
    System.out.println(ans+1);
  }
}
