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];
        int used = 0;
        int min = Integer.MAX_VALUE;
        for (int i = 0; i < n; i++) {
            m[i] = sc.nextInt();
            used += m[i];
            min = Math.min(min, m[i]);
        }

        System.out.println(m.length + (x - used) / min);
    }
} 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];
        int used = 0;
        int min = Integer.MAX_VALUE;
        for (int i = 0; i < n; i++) {
            m[i] = sc.nextInt();
            used += m[i];
            min = Math.min(min, m[i]);
        }

        System.out.println(m.length + (x - used) / min);
    }
} 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];
        int used = 0;
        int min = Integer.MAX_VALUE;
        for (int i = 0; i < n; i++) {
            m[i] = sc.nextInt();
            used += m[i];
            min = Math.min(min, m[i]);
        }

        System.out.println(m.length + (x - used) / min);
    } main {
        final Scanner sc = new Scanner(System.in);

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

        final int[] m = new int[n];
        int used = 0;
        int min = Integer.MAX_VALUE;
        for (int i = 0; i < n; i++) {
            m[i] = sc.nextInt();
            used += m[i];
            min = Math.min(min, m[i]);
        }

        System.out.println(m.length + (x - used) / min);
    } 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 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++) {
            m[i] = sc.nextInt();
            used += m[i];
            min = Math.min(min, m[i]);
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
            m[i] = sc.nextInt();
            used += m[i];
            min = Math.min(min, m[i]);
        } {
            m[i] = sc.nextInt();
            used += m[i];
            min = Math.min(min, m[i]);
        } m[i] = sc.nextInt() m[i] m i sc.nextInt() sc.nextInt sc 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 System.out.println(m.length + (x - used) / min) System.out.println System.out System System.out m.length + (x - used) / min m.length m m.length (x - used) / min (x - used) x used min 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];
        int used = 0;
        int min = Integer.MAX_VALUE;
        for (int i = 0; i < n; i++) {
            m[i] = sc.nextInt();
            used += m[i];
            min = Math.min(min, m[i]);
        }

        System.out.println(m.length + (x - used) / min);
    }
} 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];
        int used = 0;
        int min = Integer.MAX_VALUE;
        for (int i = 0; i < n; i++) {
            m[i] = sc.nextInt();
            used += m[i];
            min = Math.min(min, m[i]);
        }

        System.out.println(m.length + (x - used) / min);
    }
} 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];
        int used = 0;
        int min = Integer.MAX_VALUE;
        for (int i = 0; i < n; i++) {
            m[i] = sc.nextInt();
            used += m[i];
            min = Math.min(min, m[i]);
        }

        System.out.println(m.length + (x - used) / min);
    }
}
