import java.util.Scanner;
import java.util.stream.IntStream;

public class Main {

    public static void main(String[] args) {
        final Scanner sc = new Scanner(System.in);

        final int n = sc.nextInt();
        final int x = sc.nextInt();

        final int[] m = new int[n];
        for (int i = 0; i < n; i++) {
            m[i] = sc.nextInt();
        }

        final int used = IntStream.of(m).sum();
        final int min = IntStream.of(m).min().getAsInt();
        final int ans = m.length + (x - used) / min;

        System.out.println(ans);
    }
} import java.util.Scanner; Scanner java.util import java.util.stream.IntStream; IntStream java.util.stream public class Main {

    public static void main(String[] args) {
        final Scanner sc = new Scanner(System.in);

        final int n = sc.nextInt();
        final int x = sc.nextInt();

        final int[] m = new int[n];
        for (int i = 0; i < n; i++) {
            m[i] = sc.nextInt();
        }

        final int used = IntStream.of(m).sum();
        final int min = IntStream.of(m).min().getAsInt();
        final int ans = m.length + (x - used) / min;

        System.out.println(ans);
    }
} Main public static void main(String[] args) {
        final Scanner sc = new Scanner(System.in);

        final int n = sc.nextInt();
        final int x = sc.nextInt();

        final int[] m = new int[n];
        for (int i = 0; i < n; i++) {
            m[i] = sc.nextInt();
        }

        final int used = IntStream.of(m).sum();
        final int min = IntStream.of(m).min().getAsInt();
        final int ans = m.length + (x - used) / min;

        System.out.println(ans);
    } main {
        final Scanner sc = new Scanner(System.in);

        final int n = sc.nextInt();
        final int x = sc.nextInt();

        final int[] m = new int[n];
        for (int i = 0; i < n; i++) {
            m[i] = sc.nextInt();
        }

        final int used = IntStream.of(m).sum();
        final int min = IntStream.of(m).min().getAsInt();
        final int ans = m.length + (x - used) / min;

        System.out.println(ans);
    } final Scanner sc = new Scanner(System.in); sc new Scanner(System.in) final int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc final int x = sc.nextInt(); x sc.nextInt() sc.nextInt sc final int[] m = new int[n]; m new int[n] n for (int i = 0; i < n; i++) {
            m[i] = sc.nextInt();
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
            m[i] = sc.nextInt();
        } {
            m[i] = sc.nextInt();
        } m[i] = sc.nextInt() m[i] m i sc.nextInt() sc.nextInt sc final int used = IntStream.of(m).sum(); used IntStream.of(m).sum() IntStream.of(m).sum IntStream.of(m) IntStream.of IntStream m final int min = IntStream.of(m).min().getAsInt(); min IntStream.of(m).min().getAsInt() IntStream.of(m).min().getAsInt IntStream.of(m).min() IntStream.of(m).min IntStream.of(m) IntStream.of IntStream m final int ans = m.length + (x - used) / min; ans m.length + (x - used) / min m.length m m.length (x - used) / min (x - used) x used min 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) {
        final Scanner sc = new Scanner(System.in);

        final int n = sc.nextInt();
        final int x = sc.nextInt();

        final int[] m = new int[n];
        for (int i = 0; i < n; i++) {
            m[i] = sc.nextInt();
        }

        final int used = IntStream.of(m).sum();
        final int min = IntStream.of(m).min().getAsInt();
        final int ans = m.length + (x - used) / min;

        System.out.println(ans);
    }
} public class Main {

    public static void main(String[] args) {
        final Scanner sc = new Scanner(System.in);

        final int n = sc.nextInt();
        final int x = sc.nextInt();

        final int[] m = new int[n];
        for (int i = 0; i < n; i++) {
            m[i] = sc.nextInt();
        }

        final int used = IntStream.of(m).sum();
        final int min = IntStream.of(m).min().getAsInt();
        final int ans = m.length + (x - used) / min;

        System.out.println(ans);
    }
} Main
import java.util.Scanner;
import java.util.stream.IntStream;

public class Main {

    public static void main(String[] args) {
        final Scanner sc = new Scanner(System.in);

        final int n = sc.nextInt();
        final int x = sc.nextInt();

        final int[] m = new int[n];
        for (int i = 0; i < n; i++) {
            m[i] = sc.nextInt();
        }

        final int used = IntStream.of(m).sum();
        final int min = IntStream.of(m).min().getAsInt();
        final int ans = m.length + (x - used) / min;

        System.out.println(ans);
    }
}
