import java.util.Arrays;
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        try (Scanner in = new Scanner(System.in)) {
            int N = in.nextInt();
            int X = in.nextInt();
            int[] m = new int[N];
            for (int i = 0; i < N; i++) {
                m[i] = in.nextInt();
            }

            Arrays.sort(m);

            int sum = 0;
            for (int i = 0; i < N; i++) {
                sum += m[i];
            }

            X -= sum;

            System.out.println(N + X / m[0]);
        }
    }
} import java.util.Arrays; Arrays java.util import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        try (Scanner in = new Scanner(System.in)) {
            int N = in.nextInt();
            int X = in.nextInt();
            int[] m = new int[N];
            for (int i = 0; i < N; i++) {
                m[i] = in.nextInt();
            }

            Arrays.sort(m);

            int sum = 0;
            for (int i = 0; i < N; i++) {
                sum += m[i];
            }

            X -= sum;

            System.out.println(N + X / m[0]);
        }
    }
} Main public static void main(String[] args) {
        try (Scanner in = new Scanner(System.in)) {
            int N = in.nextInt();
            int X = in.nextInt();
            int[] m = new int[N];
            for (int i = 0; i < N; i++) {
                m[i] = in.nextInt();
            }

            Arrays.sort(m);

            int sum = 0;
            for (int i = 0; i < N; i++) {
                sum += m[i];
            }

            X -= sum;

            System.out.println(N + X / m[0]);
        }
    } main {
        try (Scanner in = new Scanner(System.in)) {
            int N = in.nextInt();
            int X = in.nextInt();
            int[] m = new int[N];
            for (int i = 0; i < N; i++) {
                m[i] = in.nextInt();
            }

            Arrays.sort(m);

            int sum = 0;
            for (int i = 0; i < N; i++) {
                sum += m[i];
            }

            X -= sum;

            System.out.println(N + X / m[0]);
        }
    } try (Scanner in = new Scanner(System.in)) {
            int N = in.nextInt();
            int X = in.nextInt();
            int[] m = new int[N];
            for (int i = 0; i < N; i++) {
                m[i] = in.nextInt();
            }

            Arrays.sort(m);

            int sum = 0;
            for (int i = 0; i < N; i++) {
                sum += m[i];
            }

            X -= sum;

            System.out.println(N + X / m[0]);
        } {
            int N = in.nextInt();
            int X = in.nextInt();
            int[] m = new int[N];
            for (int i = 0; i < N; i++) {
                m[i] = in.nextInt();
            }

            Arrays.sort(m);

            int sum = 0;
            for (int i = 0; i < N; i++) {
                sum += m[i];
            }

            X -= sum;

            System.out.println(N + X / m[0]);
        } Scanner in = new Scanner(System.in) Scanner in = new Scanner(System.in) new Scanner(System.in) int N = in.nextInt(); N in.nextInt() in.nextInt in int X = in.nextInt(); X in.nextInt() in.nextInt in int[] m = new int[N]; m new int[N] N for (int i = 0; i < N; i++) {
                m[i] = in.nextInt();
            } int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
                m[i] = in.nextInt();
            } {
                m[i] = in.nextInt();
            } m[i] = in.nextInt() m[i] m i in.nextInt() in.nextInt in Arrays.sort(m) Arrays.sort Arrays m int sum = 0; sum 0 for (int i = 0; i < N; i++) {
                sum += m[i];
            } int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
                sum += m[i];
            } {
                sum += m[i];
            } sum += m[i] sum m[i] m i X -= sum X sum System.out.println(N + X / m[0]) System.out.println System.out System System.out N + X / m[0] N X / m[0] X m[0] m 0 String[] args args public class Main {
    public static void main(String[] args) {
        try (Scanner in = new Scanner(System.in)) {
            int N = in.nextInt();
            int X = in.nextInt();
            int[] m = new int[N];
            for (int i = 0; i < N; i++) {
                m[i] = in.nextInt();
            }

            Arrays.sort(m);

            int sum = 0;
            for (int i = 0; i < N; i++) {
                sum += m[i];
            }

            X -= sum;

            System.out.println(N + X / m[0]);
        }
    }
} public class Main {
    public static void main(String[] args) {
        try (Scanner in = new Scanner(System.in)) {
            int N = in.nextInt();
            int X = in.nextInt();
            int[] m = new int[N];
            for (int i = 0; i < N; i++) {
                m[i] = in.nextInt();
            }

            Arrays.sort(m);

            int sum = 0;
            for (int i = 0; i < N; i++) {
                sum += m[i];
            }

            X -= sum;

            System.out.println(N + X / m[0]);
        }
    }
} Main
import java.util.Arrays;
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        try (Scanner in = new Scanner(System.in)) {
            int N = in.nextInt();
            int X = in.nextInt();
            int[] m = new int[N];
            for (int i = 0; i < N; i++) {
                m[i] = in.nextInt();
            }

            Arrays.sort(m);

            int sum = 0;
            for (int i = 0; i < N; i++) {
                sum += m[i];
            }

            X -= sum;

            System.out.println(N + X / m[0]);
        }
    }
}
