import java.util.*;

public class Main {
	public static void main(String[] args) {
    	Scanner input = new Scanner(System.in);
      	int N = input.nextInt();
      	int T = input.nextInt();
      	int A = input.nextInt();
      	double minGap = 5000;
      	int ans = 0;
      
      	for (int i = 0; i < N; i++) {
          	double avg = (double)T - 0.006 * input.nextInt();
          	if (Math.abs(A - avg) < minGap) {
            	minGap = Math.abs(A - avg);
              	ans = i + 1;
            }
        }
		
      	System.out.print(ans);
    } 	
} import java.util.*; util.* java public class Main {
	public static void main(String[] args) {
    	Scanner input = new Scanner(System.in);
      	int N = input.nextInt();
      	int T = input.nextInt();
      	int A = input.nextInt();
      	double minGap = 5000;
      	int ans = 0;
      
      	for (int i = 0; i < N; i++) {
          	double avg = (double)T - 0.006 * input.nextInt();
          	if (Math.abs(A - avg) < minGap) {
            	minGap = Math.abs(A - avg);
              	ans = i + 1;
            }
        }
		
      	System.out.print(ans);
    } 	
} Main public static void main(String[] args) {
    	Scanner input = new Scanner(System.in);
      	int N = input.nextInt();
      	int T = input.nextInt();
      	int A = input.nextInt();
      	double minGap = 5000;
      	int ans = 0;
      
      	for (int i = 0; i < N; i++) {
          	double avg = (double)T - 0.006 * input.nextInt();
          	if (Math.abs(A - avg) < minGap) {
            	minGap = Math.abs(A - avg);
              	ans = i + 1;
            }
        }
		
      	System.out.print(ans);
    } main {
    	Scanner input = new Scanner(System.in);
      	int N = input.nextInt();
      	int T = input.nextInt();
      	int A = input.nextInt();
      	double minGap = 5000;
      	int ans = 0;
      
      	for (int i = 0; i < N; i++) {
          	double avg = (double)T - 0.006 * input.nextInt();
          	if (Math.abs(A - avg) < minGap) {
            	minGap = Math.abs(A - avg);
              	ans = i + 1;
            }
        }
		
      	System.out.print(ans);
    } Scanner input = new Scanner(System.in); input new Scanner(System.in) int N = input.nextInt(); N input.nextInt() input.nextInt input int T = input.nextInt(); T input.nextInt() input.nextInt input int A = input.nextInt(); A input.nextInt() input.nextInt input double minGap = 5000; minGap 5000 int ans = 0; ans 0 for (int i = 0; i < N; i++) {
          	double avg = (double)T - 0.006 * input.nextInt();
          	if (Math.abs(A - avg) < minGap) {
            	minGap = Math.abs(A - avg);
              	ans = i + 1;
            }
        } int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
          	double avg = (double)T - 0.006 * input.nextInt();
          	if (Math.abs(A - avg) < minGap) {
            	minGap = Math.abs(A - avg);
              	ans = i + 1;
            }
        } {
          	double avg = (double)T - 0.006 * input.nextInt();
          	if (Math.abs(A - avg) < minGap) {
            	minGap = Math.abs(A - avg);
              	ans = i + 1;
            }
        } double avg = (double)T - 0.006 * input.nextInt(); avg (double)T - 0.006 * input.nextInt() (double)T 0.006 * input.nextInt() 0.006 input.nextInt() input.nextInt input if (Math.abs(A - avg) < minGap) {
            	minGap = Math.abs(A - avg);
              	ans = i + 1;
            } Math.abs(A - avg) < minGap Math.abs(A - avg) Math.abs Math A - avg A avg minGap {
            	minGap = Math.abs(A - avg);
              	ans = i + 1;
            } minGap = Math.abs(A - avg) minGap Math.abs(A - avg) Math.abs Math A - avg A avg ans = i + 1 ans i + 1 i 1 System.out.print(ans) System.out.print System.out System System.out ans String[] args args public class Main {
	public static void main(String[] args) {
    	Scanner input = new Scanner(System.in);
      	int N = input.nextInt();
      	int T = input.nextInt();
      	int A = input.nextInt();
      	double minGap = 5000;
      	int ans = 0;
      
      	for (int i = 0; i < N; i++) {
          	double avg = (double)T - 0.006 * input.nextInt();
          	if (Math.abs(A - avg) < minGap) {
            	minGap = Math.abs(A - avg);
              	ans = i + 1;
            }
        }
		
      	System.out.print(ans);
    } 	
} public class Main {
	public static void main(String[] args) {
    	Scanner input = new Scanner(System.in);
      	int N = input.nextInt();
      	int T = input.nextInt();
      	int A = input.nextInt();
      	double minGap = 5000;
      	int ans = 0;
      
      	for (int i = 0; i < N; i++) {
          	double avg = (double)T - 0.006 * input.nextInt();
          	if (Math.abs(A - avg) < minGap) {
            	minGap = Math.abs(A - avg);
              	ans = i + 1;
            }
        }
		
      	System.out.print(ans);
    } 	
} Main
import java.util.*;

public class Main {
	public static void main(String[] args) {
    	Scanner input = new Scanner(System.in);
      	int N = input.nextInt();
      	int T = input.nextInt();
      	int A = input.nextInt();
      	double minGap = 5000;
      	int ans = 0;
      
      	for (int i = 0; i < N; i++) {
          	double avg = (double)T - 0.006 * input.nextInt();
          	if (Math.abs(A - avg) < minGap) {
            	minGap = Math.abs(A - avg);
              	ans = i + 1;
            }
        }
		
      	System.out.print(ans);
    } 	
}
