import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Main main = new Main();
        main.solve();
    }
    public void solve() {
        Scanner scan = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
        int N = scan.nextInt();
        int T = scan.nextInt();
        int A = scan.nextInt();
        double min_abs = Double.MAX_VALUE;
        int answer = 0;
        for (int i = 0; i < N; i++) {
            int h = scan.nextInt();
            double x = (double) T - 0.006 * h;
            double abs = Math.abs(x - A);
            if (abs < min_abs) {
                min_abs = abs;
                answer = i + 1;
            }
        }
        System.out.println(answer);
    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        Main main = new Main();
        main.solve();
    }
    public void solve() {
        Scanner scan = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
        int N = scan.nextInt();
        int T = scan.nextInt();
        int A = scan.nextInt();
        double min_abs = Double.MAX_VALUE;
        int answer = 0;
        for (int i = 0; i < N; i++) {
            int h = scan.nextInt();
            double x = (double) T - 0.006 * h;
            double abs = Math.abs(x - A);
            if (abs < min_abs) {
                min_abs = abs;
                answer = i + 1;
            }
        }
        System.out.println(answer);
    }
} 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 public void solve() {
        Scanner scan = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
        int N = scan.nextInt();
        int T = scan.nextInt();
        int A = scan.nextInt();
        double min_abs = Double.MAX_VALUE;
        int answer = 0;
        for (int i = 0; i < N; i++) {
            int h = scan.nextInt();
            double x = (double) T - 0.006 * h;
            double abs = Math.abs(x - A);
            if (abs < min_abs) {
                min_abs = abs;
                answer = i + 1;
            }
        }
        System.out.println(answer);
    } solve {
        Scanner scan = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
        int N = scan.nextInt();
        int T = scan.nextInt();
        int A = scan.nextInt();
        double min_abs = Double.MAX_VALUE;
        int answer = 0;
        for (int i = 0; i < N; i++) {
            int h = scan.nextInt();
            double x = (double) T - 0.006 * h;
            double abs = Math.abs(x - A);
            if (abs < min_abs) {
                min_abs = abs;
                answer = i + 1;
            }
        }
        System.out.println(answer);
    } Scanner scan = new Scanner(new BufferedReader(new InputStreamReader(System.in))); scan new Scanner(new BufferedReader(new InputStreamReader(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 double min_abs = Double.MAX_VALUE; min_abs Double.MAX_VALUE Double Double.MAX_VALUE int answer = 0; answer 0 for (int i = 0; i < N; i++) {
            int h = scan.nextInt();
            double x = (double) T - 0.006 * h;
            double abs = Math.abs(x - A);
            if (abs < min_abs) {
                min_abs = abs;
                answer = i + 1;
            }
        } int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
            int h = scan.nextInt();
            double x = (double) T - 0.006 * h;
            double abs = Math.abs(x - A);
            if (abs < min_abs) {
                min_abs = abs;
                answer = i + 1;
            }
        } {
            int h = scan.nextInt();
            double x = (double) T - 0.006 * h;
            double abs = Math.abs(x - A);
            if (abs < min_abs) {
                min_abs = abs;
                answer = i + 1;
            }
        } int h = scan.nextInt(); h scan.nextInt() scan.nextInt scan double x = (double) T - 0.006 * h; x (double) T - 0.006 * h (double) T 0.006 * h 0.006 h double abs = Math.abs(x - A); abs Math.abs(x - A) Math.abs Math x - A x A if (abs < min_abs) {
                min_abs = abs;
                answer = i + 1;
            } abs < min_abs abs min_abs {
                min_abs = abs;
                answer = i + 1;
            } min_abs = abs min_abs abs answer = i + 1 answer i + 1 i 1 System.out.println(answer) System.out.println System.out System System.out answer public class Main {
    public static void main(String[] args) {
        Main main = new Main();
        main.solve();
    }
    public void solve() {
        Scanner scan = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
        int N = scan.nextInt();
        int T = scan.nextInt();
        int A = scan.nextInt();
        double min_abs = Double.MAX_VALUE;
        int answer = 0;
        for (int i = 0; i < N; i++) {
            int h = scan.nextInt();
            double x = (double) T - 0.006 * h;
            double abs = Math.abs(x - A);
            if (abs < min_abs) {
                min_abs = abs;
                answer = i + 1;
            }
        }
        System.out.println(answer);
    }
} public class Main {
    public static void main(String[] args) {
        Main main = new Main();
        main.solve();
    }
    public void solve() {
        Scanner scan = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
        int N = scan.nextInt();
        int T = scan.nextInt();
        int A = scan.nextInt();
        double min_abs = Double.MAX_VALUE;
        int answer = 0;
        for (int i = 0; i < N; i++) {
            int h = scan.nextInt();
            double x = (double) T - 0.006 * h;
            double abs = Math.abs(x - A);
            if (abs < min_abs) {
                min_abs = abs;
                answer = i + 1;
            }
        }
        System.out.println(answer);
    }
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Main main = new Main();
        main.solve();
    }
    public void solve() {
        Scanner scan = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
        int N = scan.nextInt();
        int T = scan.nextInt();
        int A = scan.nextInt();
        double min_abs = Double.MAX_VALUE;
        int answer = 0;
        for (int i = 0; i < N; i++) {
            int h = scan.nextInt();
            double x = (double) T - 0.006 * h;
            double abs = Math.abs(x - A);
            if (abs < min_abs) {
                min_abs = abs;
                answer = i + 1;
            }
        }
        System.out.println(answer);
    }
}
