import java.util.Scanner;

public class Main {

  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int kouhosu = sc.nextInt();
    int kion = sc.nextInt();
    int kibou = sc.nextInt();
    double[] kouhoti = new double[kouhosu];
    for(int i = 0; i < kouhosu; i++) {
      kouhoti[i] = sc.nextInt();
    }
    for(int i = 0; i < kouhosu; i++) {
      kouhoti[i] = kion - kouhoti[i] * 0.006;
    }
    double min = 100000;
    int index = 0;
    for(int i = 0; i < kouhosu; i++) {
      if(Math.abs(kibou - kouhoti[i]) < min) {
        min = Math.abs(kibou - kouhoti[i]);
        index = i;
      }
    }
    System.out.println(index + 1);
  }

} import java.util.Scanner; Scanner java.util public class Main {

  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int kouhosu = sc.nextInt();
    int kion = sc.nextInt();
    int kibou = sc.nextInt();
    double[] kouhoti = new double[kouhosu];
    for(int i = 0; i < kouhosu; i++) {
      kouhoti[i] = sc.nextInt();
    }
    for(int i = 0; i < kouhosu; i++) {
      kouhoti[i] = kion - kouhoti[i] * 0.006;
    }
    double min = 100000;
    int index = 0;
    for(int i = 0; i < kouhosu; i++) {
      if(Math.abs(kibou - kouhoti[i]) < min) {
        min = Math.abs(kibou - kouhoti[i]);
        index = i;
      }
    }
    System.out.println(index + 1);
  }

} Main public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int kouhosu = sc.nextInt();
    int kion = sc.nextInt();
    int kibou = sc.nextInt();
    double[] kouhoti = new double[kouhosu];
    for(int i = 0; i < kouhosu; i++) {
      kouhoti[i] = sc.nextInt();
    }
    for(int i = 0; i < kouhosu; i++) {
      kouhoti[i] = kion - kouhoti[i] * 0.006;
    }
    double min = 100000;
    int index = 0;
    for(int i = 0; i < kouhosu; i++) {
      if(Math.abs(kibou - kouhoti[i]) < min) {
        min = Math.abs(kibou - kouhoti[i]);
        index = i;
      }
    }
    System.out.println(index + 1);
  } main {
    Scanner sc = new Scanner(System.in);
    int kouhosu = sc.nextInt();
    int kion = sc.nextInt();
    int kibou = sc.nextInt();
    double[] kouhoti = new double[kouhosu];
    for(int i = 0; i < kouhosu; i++) {
      kouhoti[i] = sc.nextInt();
    }
    for(int i = 0; i < kouhosu; i++) {
      kouhoti[i] = kion - kouhoti[i] * 0.006;
    }
    double min = 100000;
    int index = 0;
    for(int i = 0; i < kouhosu; i++) {
      if(Math.abs(kibou - kouhoti[i]) < min) {
        min = Math.abs(kibou - kouhoti[i]);
        index = i;
      }
    }
    System.out.println(index + 1);
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int kouhosu = sc.nextInt(); kouhosu sc.nextInt() sc.nextInt sc int kion = sc.nextInt(); kion sc.nextInt() sc.nextInt sc int kibou = sc.nextInt(); kibou sc.nextInt() sc.nextInt sc double[] kouhoti = new double[kouhosu]; kouhoti new double[kouhosu] kouhosu for(int i = 0; i < kouhosu; i++) {
      kouhoti[i] = sc.nextInt();
    } int i = 0; int i = 0; i 0 i < kouhosu i kouhosu i++ i++ i {
      kouhoti[i] = sc.nextInt();
    } {
      kouhoti[i] = sc.nextInt();
    } kouhoti[i] = sc.nextInt() kouhoti[i] kouhoti i sc.nextInt() sc.nextInt sc for(int i = 0; i < kouhosu; i++) {
      kouhoti[i] = kion - kouhoti[i] * 0.006;
    } int i = 0; int i = 0; i 0 i < kouhosu i kouhosu i++ i++ i {
      kouhoti[i] = kion - kouhoti[i] * 0.006;
    } {
      kouhoti[i] = kion - kouhoti[i] * 0.006;
    } kouhoti[i] = kion - kouhoti[i] * 0.006 kouhoti[i] kouhoti i kion - kouhoti[i] * 0.006 kion kouhoti[i] * 0.006 kouhoti[i] kouhoti i 0.006 double min = 100000; min 100000 int index = 0; index 0 for(int i = 0; i < kouhosu; i++) {
      if(Math.abs(kibou - kouhoti[i]) < min) {
        min = Math.abs(kibou - kouhoti[i]);
        index = i;
      }
    } int i = 0; int i = 0; i 0 i < kouhosu i kouhosu i++ i++ i {
      if(Math.abs(kibou - kouhoti[i]) < min) {
        min = Math.abs(kibou - kouhoti[i]);
        index = i;
      }
    } {
      if(Math.abs(kibou - kouhoti[i]) < min) {
        min = Math.abs(kibou - kouhoti[i]);
        index = i;
      }
    } if(Math.abs(kibou - kouhoti[i]) < min) {
        min = Math.abs(kibou - kouhoti[i]);
        index = i;
      } Math.abs(kibou - kouhoti[i]) < min Math.abs(kibou - kouhoti[i]) Math.abs Math kibou - kouhoti[i] kibou kouhoti[i] kouhoti i min {
        min = Math.abs(kibou - kouhoti[i]);
        index = i;
      } min = Math.abs(kibou - kouhoti[i]) min Math.abs(kibou - kouhoti[i]) Math.abs Math kibou - kouhoti[i] kibou kouhoti[i] kouhoti i index = i index i System.out.println(index + 1) System.out.println System.out System System.out index + 1 index 1 String[] args args public class Main {

  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int kouhosu = sc.nextInt();
    int kion = sc.nextInt();
    int kibou = sc.nextInt();
    double[] kouhoti = new double[kouhosu];
    for(int i = 0; i < kouhosu; i++) {
      kouhoti[i] = sc.nextInt();
    }
    for(int i = 0; i < kouhosu; i++) {
      kouhoti[i] = kion - kouhoti[i] * 0.006;
    }
    double min = 100000;
    int index = 0;
    for(int i = 0; i < kouhosu; i++) {
      if(Math.abs(kibou - kouhoti[i]) < min) {
        min = Math.abs(kibou - kouhoti[i]);
        index = i;
      }
    }
    System.out.println(index + 1);
  }

} public class Main {

  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int kouhosu = sc.nextInt();
    int kion = sc.nextInt();
    int kibou = sc.nextInt();
    double[] kouhoti = new double[kouhosu];
    for(int i = 0; i < kouhosu; i++) {
      kouhoti[i] = sc.nextInt();
    }
    for(int i = 0; i < kouhosu; i++) {
      kouhoti[i] = kion - kouhoti[i] * 0.006;
    }
    double min = 100000;
    int index = 0;
    for(int i = 0; i < kouhosu; i++) {
      if(Math.abs(kibou - kouhoti[i]) < min) {
        min = Math.abs(kibou - kouhoti[i]);
        index = i;
      }
    }
    System.out.println(index + 1);
  }

} Main
import java.util.Scanner;

public class Main {

  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int kouhosu = sc.nextInt();
    int kion = sc.nextInt();
    int kibou = sc.nextInt();
    double[] kouhoti = new double[kouhosu];
    for(int i = 0; i < kouhosu; i++) {
      kouhoti[i] = sc.nextInt();
    }
    for(int i = 0; i < kouhosu; i++) {
      kouhoti[i] = kion - kouhoti[i] * 0.006;
    }
    double min = 100000;
    int index = 0;
    for(int i = 0; i < kouhosu; i++) {
      if(Math.abs(kibou - kouhoti[i]) < min) {
        min = Math.abs(kibou - kouhoti[i]);
        index = i;
      }
    }
    System.out.println(index + 1);
  }

}
