import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = Integer.parseInt(sc.next());
        int t = Integer.parseInt(sc.next());
        double a = Double.parseDouble(sc.next());
        double minDiff = Integer.MAX_VALUE;
        int ans = 0;

        List<Integer> heightList = new ArrayList<>();

        for (int i = 1; i <= n; i++) {
        	int x = Integer.parseInt(sc.next());
        	double ti = t - x * 0.006;
        	if (Math.abs(a - ti) < minDiff) {
                ans = i;
                minDiff = Math.abs(a - ti);
        	}
        }
        System.out.println(ans);
    }
} import java.util.ArrayList; ArrayList java.util import java.util.List; List java.util import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = Integer.parseInt(sc.next());
        int t = Integer.parseInt(sc.next());
        double a = Double.parseDouble(sc.next());
        double minDiff = Integer.MAX_VALUE;
        int ans = 0;

        List<Integer> heightList = new ArrayList<>();

        for (int i = 1; i <= n; i++) {
        	int x = Integer.parseInt(sc.next());
        	double ti = t - x * 0.006;
        	if (Math.abs(a - ti) < minDiff) {
                ans = i;
                minDiff = Math.abs(a - ti);
        	}
        }
        System.out.println(ans);
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = Integer.parseInt(sc.next());
        int t = Integer.parseInt(sc.next());
        double a = Double.parseDouble(sc.next());
        double minDiff = Integer.MAX_VALUE;
        int ans = 0;

        List<Integer> heightList = new ArrayList<>();

        for (int i = 1; i <= n; i++) {
        	int x = Integer.parseInt(sc.next());
        	double ti = t - x * 0.006;
        	if (Math.abs(a - ti) < minDiff) {
                ans = i;
                minDiff = Math.abs(a - ti);
        	}
        }
        System.out.println(ans);
    } main {
        Scanner sc = new Scanner(System.in);
        int n = Integer.parseInt(sc.next());
        int t = Integer.parseInt(sc.next());
        double a = Double.parseDouble(sc.next());
        double minDiff = Integer.MAX_VALUE;
        int ans = 0;

        List<Integer> heightList = new ArrayList<>();

        for (int i = 1; i <= n; i++) {
        	int x = Integer.parseInt(sc.next());
        	double ti = t - x * 0.006;
        	if (Math.abs(a - ti) < minDiff) {
                ans = i;
                minDiff = Math.abs(a - ti);
        	}
        }
        System.out.println(ans);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = Integer.parseInt(sc.next()); n Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int t = Integer.parseInt(sc.next()); t Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc double a = Double.parseDouble(sc.next()); a Double.parseDouble(sc.next()) Double.parseDouble Double sc.next() sc.next sc double minDiff = Integer.MAX_VALUE; minDiff Integer.MAX_VALUE Integer Integer.MAX_VALUE int ans = 0; ans 0 List<Integer> heightList = new ArrayList<>(); heightList new ArrayList<>() for (int i = 1; i <= n; i++) {
        	int x = Integer.parseInt(sc.next());
        	double ti = t - x * 0.006;
        	if (Math.abs(a - ti) < minDiff) {
                ans = i;
                minDiff = Math.abs(a - ti);
        	}
        } int i = 1; int i = 1; i 1 i <= n i n i++ i++ i {
        	int x = Integer.parseInt(sc.next());
        	double ti = t - x * 0.006;
        	if (Math.abs(a - ti) < minDiff) {
                ans = i;
                minDiff = Math.abs(a - ti);
        	}
        } {
        	int x = Integer.parseInt(sc.next());
        	double ti = t - x * 0.006;
        	if (Math.abs(a - ti) < minDiff) {
                ans = i;
                minDiff = Math.abs(a - ti);
        	}
        } int x = Integer.parseInt(sc.next()); x Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc double ti = t - x * 0.006; ti t - x * 0.006 t x * 0.006 x 0.006 if (Math.abs(a - ti) < minDiff) {
                ans = i;
                minDiff = Math.abs(a - ti);
        	} Math.abs(a - ti) < minDiff Math.abs(a - ti) Math.abs Math a - ti a ti minDiff {
                ans = i;
                minDiff = Math.abs(a - ti);
        	} ans = i ans i minDiff = Math.abs(a - ti) minDiff Math.abs(a - ti) Math.abs Math a - ti a ti 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 = Integer.parseInt(sc.next());
        int t = Integer.parseInt(sc.next());
        double a = Double.parseDouble(sc.next());
        double minDiff = Integer.MAX_VALUE;
        int ans = 0;

        List<Integer> heightList = new ArrayList<>();

        for (int i = 1; i <= n; i++) {
        	int x = Integer.parseInt(sc.next());
        	double ti = t - x * 0.006;
        	if (Math.abs(a - ti) < minDiff) {
                ans = i;
                minDiff = Math.abs(a - ti);
        	}
        }
        System.out.println(ans);
    }
} public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = Integer.parseInt(sc.next());
        int t = Integer.parseInt(sc.next());
        double a = Double.parseDouble(sc.next());
        double minDiff = Integer.MAX_VALUE;
        int ans = 0;

        List<Integer> heightList = new ArrayList<>();

        for (int i = 1; i <= n; i++) {
        	int x = Integer.parseInt(sc.next());
        	double ti = t - x * 0.006;
        	if (Math.abs(a - ti) < minDiff) {
                ans = i;
                minDiff = Math.abs(a - ti);
        	}
        }
        System.out.println(ans);
    }
} Main
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = Integer.parseInt(sc.next());
        int t = Integer.parseInt(sc.next());
        double a = Double.parseDouble(sc.next());
        double minDiff = Integer.MAX_VALUE;
        int ans = 0;

        List<Integer> heightList = new ArrayList<>();

        for (int i = 1; i <= n; i++) {
        	int x = Integer.parseInt(sc.next());
        	double ti = t - x * 0.006;
        	if (Math.abs(a - ti) < minDiff) {
                ans = i;
                minDiff = Math.abs(a - ti);
        	}
        }
        System.out.println(ans);
    }
}