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

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

        int N = sc.nextInt();
        int X = sc.nextInt();
        int[] m = new int[N];
        for (int i = 0; i < m.length; ++i) {
            m[i] = sc.nextInt();
        }

        System.out.println(solve(m, X));

        sc.close();
    }

    static int solve(int[] m, int X) {
        return m.length + (X - Arrays.stream(m).sum()) / Arrays.stream(m).min().getAsInt();
    }
} import java.util.Arrays; Arrays java.util import java.util.Scanner; Scanner 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();
        int[] m = new int[N];
        for (int i = 0; i < m.length; ++i) {
            m[i] = sc.nextInt();
        }

        System.out.println(solve(m, X));

        sc.close();
    }

    static int solve(int[] m, int X) {
        return m.length + (X - Arrays.stream(m).sum()) / Arrays.stream(m).min().getAsInt();
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int N = sc.nextInt();
        int X = sc.nextInt();
        int[] m = new int[N];
        for (int i = 0; i < m.length; ++i) {
            m[i] = sc.nextInt();
        }

        System.out.println(solve(m, X));

        sc.close();
    } main {
        Scanner sc = new Scanner(System.in);

        int N = sc.nextInt();
        int X = sc.nextInt();
        int[] m = new int[N];
        for (int i = 0; i < m.length; ++i) {
            m[i] = sc.nextInt();
        }

        System.out.println(solve(m, X));

        sc.close();
    } 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 int[] m = new int[N]; m new int[N] N for (int i = 0; i < m.length; ++i) {
            m[i] = sc.nextInt();
        } int i = 0; int i = 0; i 0 i < m.length i m.length m m.length ++i ++i i {
            m[i] = sc.nextInt();
        } {
            m[i] = sc.nextInt();
        } m[i] = sc.nextInt() m[i] m i sc.nextInt() sc.nextInt sc System.out.println(solve(m, X)) System.out.println System.out System System.out solve(m, X) solve m X sc.close() sc.close sc String[] args args static int solve(int[] m, int X) {
        return m.length + (X - Arrays.stream(m).sum()) / Arrays.stream(m).min().getAsInt();
    } solve {
        return m.length + (X - Arrays.stream(m).sum()) / Arrays.stream(m).min().getAsInt();
    } return m.length + (X - Arrays.stream(m).sum()) / Arrays.stream(m).min().getAsInt(); m.length + (X - Arrays.stream(m).sum()) / Arrays.stream(m).min().getAsInt() m.length m m.length (X - Arrays.stream(m).sum()) / Arrays.stream(m).min().getAsInt() (X - Arrays.stream(m).sum()) X Arrays.stream(m).sum() Arrays.stream(m).sum Arrays.stream(m) Arrays.stream Arrays m Arrays.stream(m).min().getAsInt() Arrays.stream(m).min().getAsInt Arrays.stream(m).min() Arrays.stream(m).min Arrays.stream(m) Arrays.stream Arrays m int[] m m int X X public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int N = sc.nextInt();
        int X = sc.nextInt();
        int[] m = new int[N];
        for (int i = 0; i < m.length; ++i) {
            m[i] = sc.nextInt();
        }

        System.out.println(solve(m, X));

        sc.close();
    }

    static int solve(int[] m, int X) {
        return m.length + (X - Arrays.stream(m).sum()) / Arrays.stream(m).min().getAsInt();
    }
} public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int N = sc.nextInt();
        int X = sc.nextInt();
        int[] m = new int[N];
        for (int i = 0; i < m.length; ++i) {
            m[i] = sc.nextInt();
        }

        System.out.println(solve(m, X));

        sc.close();
    }

    static int solve(int[] m, int X) {
        return m.length + (X - Arrays.stream(m).sum()) / Arrays.stream(m).min().getAsInt();
    }
} Main
import java.util.Arrays;
import java.util.Scanner;

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

        int N = sc.nextInt();
        int X = sc.nextInt();
        int[] m = new int[N];
        for (int i = 0; i < m.length; ++i) {
            m[i] = sc.nextInt();
        }

        System.out.println(solve(m, X));

        sc.close();
    }

    static int solve(int[] m, int X) {
        return m.length + (X - Arrays.stream(m).sum()) / Arrays.stream(m).min().getAsInt();
    }
}