import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        Scanner sc=new Scanner(System.in);
        int n=sc.nextInt();
      int a=sc.nextInt();int b=sc.nextInt();
      int p=1;
      double pd=-0.006*sc.nextInt()+a;
      for(int i=0;i<n-1;i++){
        double po=-0.006*sc.nextInt()+a;
        if(Math.abs(po-b)<Math.abs(pd-b)){
        	p=i+2;
            pd=po;
        }
      }
      System.out.println(p);
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        Scanner sc=new Scanner(System.in);
        int n=sc.nextInt();
      int a=sc.nextInt();int b=sc.nextInt();
      int p=1;
      double pd=-0.006*sc.nextInt()+a;
      for(int i=0;i<n-1;i++){
        double po=-0.006*sc.nextInt()+a;
        if(Math.abs(po-b)<Math.abs(pd-b)){
        	p=i+2;
            pd=po;
        }
      }
      System.out.println(p);
    }
} Main public static void main(String[] args) throws Exception {
        // Your code here!
        Scanner sc=new Scanner(System.in);
        int n=sc.nextInt();
      int a=sc.nextInt();int b=sc.nextInt();
      int p=1;
      double pd=-0.006*sc.nextInt()+a;
      for(int i=0;i<n-1;i++){
        double po=-0.006*sc.nextInt()+a;
        if(Math.abs(po-b)<Math.abs(pd-b)){
        	p=i+2;
            pd=po;
        }
      }
      System.out.println(p);
    } main {
        // Your code here!
        Scanner sc=new Scanner(System.in);
        int n=sc.nextInt();
      int a=sc.nextInt();int b=sc.nextInt();
      int p=1;
      double pd=-0.006*sc.nextInt()+a;
      for(int i=0;i<n-1;i++){
        double po=-0.006*sc.nextInt()+a;
        if(Math.abs(po-b)<Math.abs(pd-b)){
        	p=i+2;
            pd=po;
        }
      }
      System.out.println(p);
    } Scanner sc=new Scanner(System.in); sc new Scanner(System.in) int n=sc.nextInt(); n sc.nextInt() sc.nextInt sc int a=sc.nextInt(); a sc.nextInt() sc.nextInt sc int b=sc.nextInt(); b sc.nextInt() sc.nextInt sc int p=1; p 1 double pd=-0.006*sc.nextInt()+a; pd -0.006*sc.nextInt()+a -0.006*sc.nextInt() -0.006 0.006 sc.nextInt() sc.nextInt sc a for(int i=0;i<n-1;i++){
        double po=-0.006*sc.nextInt()+a;
        if(Math.abs(po-b)<Math.abs(pd-b)){
        	p=i+2;
            pd=po;
        }
      } int i=0; int i=0; i 0 i<n-1 i n-1 n 1 i++ i++ i {
        double po=-0.006*sc.nextInt()+a;
        if(Math.abs(po-b)<Math.abs(pd-b)){
        	p=i+2;
            pd=po;
        }
      } {
        double po=-0.006*sc.nextInt()+a;
        if(Math.abs(po-b)<Math.abs(pd-b)){
        	p=i+2;
            pd=po;
        }
      } double po=-0.006*sc.nextInt()+a; po -0.006*sc.nextInt()+a -0.006*sc.nextInt() -0.006 0.006 sc.nextInt() sc.nextInt sc a if(Math.abs(po-b)<Math.abs(pd-b)){
        	p=i+2;
            pd=po;
        } Math.abs(po-b)<Math.abs(pd-b) Math.abs(po-b) Math.abs Math po-b po b Math.abs(pd-b) Math.abs Math pd-b pd b {
        	p=i+2;
            pd=po;
        } p=i+2 p i+2 i 2 pd=po pd po System.out.println(p) System.out.println System.out System System.out p String[] args args public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        Scanner sc=new Scanner(System.in);
        int n=sc.nextInt();
      int a=sc.nextInt();int b=sc.nextInt();
      int p=1;
      double pd=-0.006*sc.nextInt()+a;
      for(int i=0;i<n-1;i++){
        double po=-0.006*sc.nextInt()+a;
        if(Math.abs(po-b)<Math.abs(pd-b)){
        	p=i+2;
            pd=po;
        }
      }
      System.out.println(p);
    }
} public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        Scanner sc=new Scanner(System.in);
        int n=sc.nextInt();
      int a=sc.nextInt();int b=sc.nextInt();
      int p=1;
      double pd=-0.006*sc.nextInt()+a;
      for(int i=0;i<n-1;i++){
        double po=-0.006*sc.nextInt()+a;
        if(Math.abs(po-b)<Math.abs(pd-b)){
        	p=i+2;
            pd=po;
        }
      }
      System.out.println(p);
    }
} Main
import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        Scanner sc=new Scanner(System.in);
        int n=sc.nextInt();
      int a=sc.nextInt();int b=sc.nextInt();
      int p=1;
      double pd=-0.006*sc.nextInt()+a;
      for(int i=0;i<n-1;i++){
        double po=-0.006*sc.nextInt()+a;
        if(Math.abs(po-b)<Math.abs(pd-b)){
        	p=i+2;
            pd=po;
        }
      }
      System.out.println(p);
    }
}
