import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        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();

        int total = m.length;

        int used = 0;
        int min = Integer.MAX_VALUE;

        for (int i = 0; i < N; i++) {
            used += m[i];
            min = Math.min(min, m[i]);
        }
        total += (X - used) / min;

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

    public static void main(String[] args) {
        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();

        int total = m.length;

        int used = 0;
        int min = Integer.MAX_VALUE;

        for (int i = 0; i < N; i++) {
            used += m[i];
            min = Math.min(min, m[i]);
        }
        total += (X - used) / min;

        System.out.println(total);
    }
} Main public static void main(String[] args) {
        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();

        int total = m.length;

        int used = 0;
        int min = Integer.MAX_VALUE;

        for (int i = 0; i < N; i++) {
            used += m[i];
            min = Math.min(min, m[i]);
        }
        total += (X - used) / min;

        System.out.println(total);
    } main {
        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();

        int total = m.length;

        int used = 0;
        int min = Integer.MAX_VALUE;

        for (int i = 0; i < N; i++) {
            used += m[i];
            min = Math.min(min, m[i]);
        }
        total += (X - used) / min;

        System.out.println(total);
    } 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] m i sc.nextInt() sc.nextInt sc int total = m.length; total m.length m m.length int used = 0; used 0 int min = Integer.MAX_VALUE; min Integer.MAX_VALUE Integer Integer.MAX_VALUE for (int i = 0; i < N; i++) {
            used += m[i];
            min = Math.min(min, m[i]);
        } int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
            used += m[i];
            min = Math.min(min, m[i]);
        } {
            used += m[i];
            min = Math.min(min, m[i]);
        } used += m[i] used m[i] m i min = Math.min(min, m[i]) min Math.min(min, m[i]) Math.min Math min m[i] m i total += (X - used) / min total (X - used) / min (X - used) X used min System.out.println(total) System.out.println System.out System System.out total String[] args args public class Main {

    public static void main(String[] args) {
        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();

        int total = m.length;

        int used = 0;
        int min = Integer.MAX_VALUE;

        for (int i = 0; i < N; i++) {
            used += m[i];
            min = Math.min(min, m[i]);
        }
        total += (X - used) / min;

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

    public static void main(String[] args) {
        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();

        int total = m.length;

        int used = 0;
        int min = Integer.MAX_VALUE;

        for (int i = 0; i < N; i++) {
            used += m[i];
            min = Math.min(min, m[i]);
        }
        total += (X - used) / min;

        System.out.println(total);
    }
} Main
import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        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();

        int total = m.length;

        int used = 0;
        int min = Integer.MAX_VALUE;

        for (int i = 0; i < N; i++) {
            used += m[i];
            min = Math.min(min, m[i]);
        }
        total += (X - used) / min;

        System.out.println(total);
    }
}
