import java.util.Scanner;
 
class Main {
  public static void main(String argv[]) {
    int n, x, a = 1000, m;
    Scanner sc = new Scanner(System.in);
    n = Integer.parseInt(sc.next());
    x = Integer.parseInt(sc.next());
    
    for (int i = 0;i < n;i++) {
      m = Integer.parseInt(sc.next());
      x -= m;
      a = Math.min(a, m);
    }
    
    System.out.println(n + x/a);
  }
} import java.util.Scanner; Scanner java.util class Main {
  public static void main(String argv[]) {
    int n, x, a = 1000, m;
    Scanner sc = new Scanner(System.in);
    n = Integer.parseInt(sc.next());
    x = Integer.parseInt(sc.next());
    
    for (int i = 0;i < n;i++) {
      m = Integer.parseInt(sc.next());
      x -= m;
      a = Math.min(a, m);
    }
    
    System.out.println(n + x/a);
  }
} Main public static void main(String argv[]) {
    int n, x, a = 1000, m;
    Scanner sc = new Scanner(System.in);
    n = Integer.parseInt(sc.next());
    x = Integer.parseInt(sc.next());
    
    for (int i = 0;i < n;i++) {
      m = Integer.parseInt(sc.next());
      x -= m;
      a = Math.min(a, m);
    }
    
    System.out.println(n + x/a);
  } main {
    int n, x, a = 1000, m;
    Scanner sc = new Scanner(System.in);
    n = Integer.parseInt(sc.next());
    x = Integer.parseInt(sc.next());
    
    for (int i = 0;i < n;i++) {
      m = Integer.parseInt(sc.next());
      x -= m;
      a = Math.min(a, m);
    }
    
    System.out.println(n + x/a);
  } int n n x x a = 1000 a 1000 m; m Scanner sc = new Scanner(System.in); sc new Scanner(System.in) n = Integer.parseInt(sc.next()) n Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc x = Integer.parseInt(sc.next()) x Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc for (int i = 0;i < n;i++) {
      m = Integer.parseInt(sc.next());
      x -= m;
      a = Math.min(a, m);
    } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
      m = Integer.parseInt(sc.next());
      x -= m;
      a = Math.min(a, m);
    } {
      m = Integer.parseInt(sc.next());
      x -= m;
      a = Math.min(a, m);
    } m = Integer.parseInt(sc.next()) m Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc x -= m x m a = Math.min(a, m) a Math.min(a, m) Math.min Math a m System.out.println(n + x/a) System.out.println System.out System System.out n + x/a n x/a x a String argv[] argv
import java.util.Scanner;
 
class Main {
  public static void main(String argv[]) {
    int n, x, a = 1000, m;
    Scanner sc = new Scanner(System.in);
    n = Integer.parseInt(sc.next());
    x = Integer.parseInt(sc.next());
    
    for (int i = 0;i < n;i++) {
      m = Integer.parseInt(sc.next());
      x -= m;
      a = Math.min(a, m);
    }
    
    System.out.println(n + x/a);
  }
}