import java.util.*;

public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int n = sc.nextInt();
    int x = sc.nextInt();
    sc.nextLine();
    int[] m = new int[n];
    int minm = 100000;
    int s = 0;
    int ans = 0;
    for (int i = 0; i < n; i++) {
      m[i] = Integer.parseInt(sc.nextLine());
      s += m[i];
      if(minm > m[i])
        minm = m[i];
    }
    ans = n + (x - s) / minm;
    System.out.println(ans);
  }
} import java.util.*; util.* java public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int n = sc.nextInt();
    int x = sc.nextInt();
    sc.nextLine();
    int[] m = new int[n];
    int minm = 100000;
    int s = 0;
    int ans = 0;
    for (int i = 0; i < n; i++) {
      m[i] = Integer.parseInt(sc.nextLine());
      s += m[i];
      if(minm > m[i])
        minm = m[i];
    }
    ans = n + (x - s) / minm;
    System.out.println(ans);
  }
} Main public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int n = sc.nextInt();
    int x = sc.nextInt();
    sc.nextLine();
    int[] m = new int[n];
    int minm = 100000;
    int s = 0;
    int ans = 0;
    for (int i = 0; i < n; i++) {
      m[i] = Integer.parseInt(sc.nextLine());
      s += m[i];
      if(minm > m[i])
        minm = m[i];
    }
    ans = n + (x - s) / minm;
    System.out.println(ans);
  } main {
    Scanner sc = new Scanner(System.in);
    int n = sc.nextInt();
    int x = sc.nextInt();
    sc.nextLine();
    int[] m = new int[n];
    int minm = 100000;
    int s = 0;
    int ans = 0;
    for (int i = 0; i < n; i++) {
      m[i] = Integer.parseInt(sc.nextLine());
      s += m[i];
      if(minm > m[i])
        minm = m[i];
    }
    ans = n + (x - s) / minm;
    System.out.println(ans);
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc int x = sc.nextInt(); x sc.nextInt() sc.nextInt sc sc.nextLine() sc.nextLine sc int[] m = new int[n]; m new int[n] n int minm = 100000; minm 100000 int s = 0; s 0 int ans = 0; ans 0 for (int i = 0; i < n; i++) {
      m[i] = Integer.parseInt(sc.nextLine());
      s += m[i];
      if(minm > m[i])
        minm = m[i];
    } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
      m[i] = Integer.parseInt(sc.nextLine());
      s += m[i];
      if(minm > m[i])
        minm = m[i];
    } {
      m[i] = Integer.parseInt(sc.nextLine());
      s += m[i];
      if(minm > m[i])
        minm = m[i];
    } m[i] = Integer.parseInt(sc.nextLine()) m[i] m i Integer.parseInt(sc.nextLine()) Integer.parseInt Integer sc.nextLine() sc.nextLine sc s += m[i] s m[i] m i if(minm > m[i])
        minm = m[i]; minm > m[i] minm m[i] m i minm = m[i] minm m[i] m i ans = n + (x - s) / minm ans n + (x - s) / minm n (x - s) / minm (x - s) x s minm 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 = sc.nextInt();
    int x = sc.nextInt();
    sc.nextLine();
    int[] m = new int[n];
    int minm = 100000;
    int s = 0;
    int ans = 0;
    for (int i = 0; i < n; i++) {
      m[i] = Integer.parseInt(sc.nextLine());
      s += m[i];
      if(minm > m[i])
        minm = m[i];
    }
    ans = n + (x - s) / minm;
    System.out.println(ans);
  }
} public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int n = sc.nextInt();
    int x = sc.nextInt();
    sc.nextLine();
    int[] m = new int[n];
    int minm = 100000;
    int s = 0;
    int ans = 0;
    for (int i = 0; i < n; i++) {
      m[i] = Integer.parseInt(sc.nextLine());
      s += m[i];
      if(minm > m[i])
        minm = m[i];
    }
    ans = n + (x - s) / minm;
    System.out.println(ans);
  }
} Main
import java.util.*;

public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int n = sc.nextInt();
    int x = sc.nextInt();
    sc.nextLine();
    int[] m = new int[n];
    int minm = 100000;
    int s = 0;
    int ans = 0;
    for (int i = 0; i < n; i++) {
      m[i] = Integer.parseInt(sc.nextLine());
      s += m[i];
      if(minm > m[i])
        minm = m[i];
    }
    ans = n + (x - s) / minm;
    System.out.println(ans);
  }
}