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();
        double[] H = new double [N];
        for (int i = 0; i < N; ++i) {
            H[i] = sc.nextInt();
        }

        double[] dif = new double [N];
        int ans = 0;
        for (int i = 0; i < N; ++i) {
            dif[i] = Math.abs(T - H[i] * 0.006 - A);
            if(dif[i] < dif[ans]) {
                ans = i;
            }
        }

        System.out.println(ans + 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();
        double[] H = new double [N];
        for (int i = 0; i < N; ++i) {
            H[i] = sc.nextInt();
        }

        double[] dif = new double [N];
        int ans = 0;
        for (int i = 0; i < N; ++i) {
            dif[i] = Math.abs(T - H[i] * 0.006 - A);
            if(dif[i] < dif[ans]) {
                ans = i;
            }
        }

        System.out.println(ans + 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();
        double[] H = new double [N];
        for (int i = 0; i < N; ++i) {
            H[i] = sc.nextInt();
        }

        double[] dif = new double [N];
        int ans = 0;
        for (int i = 0; i < N; ++i) {
            dif[i] = Math.abs(T - H[i] * 0.006 - A);
            if(dif[i] < dif[ans]) {
                ans = i;
            }
        }

        System.out.println(ans + 1);
	} main {
		Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int T = sc.nextInt();
        int A = sc.nextInt();
        double[] H = new double [N];
        for (int i = 0; i < N; ++i) {
            H[i] = sc.nextInt();
        }

        double[] dif = new double [N];
        int ans = 0;
        for (int i = 0; i < N; ++i) {
            dif[i] = Math.abs(T - H[i] * 0.006 - A);
            if(dif[i] < dif[ans]) {
                ans = i;
            }
        }

        System.out.println(ans + 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 double[] H = new double [N]; H new double [N] N for (int i = 0; i < N; ++i) {
            H[i] = sc.nextInt();
        } int i = 0; int i = 0; i 0 i < N i N ++i ++i i {
            H[i] = sc.nextInt();
        } {
            H[i] = sc.nextInt();
        } H[i] = sc.nextInt() H[i] H i sc.nextInt() sc.nextInt sc double[] dif = new double [N]; dif new double [N] N int ans = 0; ans 0 for (int i = 0; i < N; ++i) {
            dif[i] = Math.abs(T - H[i] * 0.006 - A);
            if(dif[i] < dif[ans]) {
                ans = i;
            }
        } int i = 0; int i = 0; i 0 i < N i N ++i ++i i {
            dif[i] = Math.abs(T - H[i] * 0.006 - A);
            if(dif[i] < dif[ans]) {
                ans = i;
            }
        } {
            dif[i] = Math.abs(T - H[i] * 0.006 - A);
            if(dif[i] < dif[ans]) {
                ans = i;
            }
        } dif[i] = Math.abs(T - H[i] * 0.006 - A) dif[i] dif i Math.abs(T - H[i] * 0.006 - A) Math.abs Math T - H[i] * 0.006 - A T - H[i] * 0.006 - A T H[i] * 0.006 H[i] H i 0.006 A if(dif[i] < dif[ans]) {
                ans = i;
            } dif[i] < dif[ans] dif[i] dif i dif[ans] dif ans {
                ans = i;
            } ans = i ans i 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 sc = new Scanner(System.in);
        int N = sc.nextInt();
        int T = sc.nextInt();
        int A = sc.nextInt();
        double[] H = new double [N];
        for (int i = 0; i < N; ++i) {
            H[i] = sc.nextInt();
        }

        double[] dif = new double [N];
        int ans = 0;
        for (int i = 0; i < N; ++i) {
            dif[i] = Math.abs(T - H[i] * 0.006 - A);
            if(dif[i] < dif[ans]) {
                ans = i;
            }
        }

        System.out.println(ans + 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();
        double[] H = new double [N];
        for (int i = 0; i < N; ++i) {
            H[i] = sc.nextInt();
        }

        double[] dif = new double [N];
        int ans = 0;
        for (int i = 0; i < N; ++i) {
            dif[i] = Math.abs(T - H[i] * 0.006 - A);
            if(dif[i] < dif[ans]) {
                ans = i;
            }
        }

        System.out.println(ans + 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();
        double[] H = new double [N];
        for (int i = 0; i < N; ++i) {
            H[i] = sc.nextInt();
        }

        double[] dif = new double [N];
        int ans = 0;
        for (int i = 0; i < N; ++i) {
            dif[i] = Math.abs(T - H[i] * 0.006 - A);
            if(dif[i] < dif[ans]) {
                ans = i;
            }
        }

        System.out.println(ans + 1);
	}
}
