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];
        int min = Integer.MAX_VALUE;

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

        int num = X / min;

        System.out.println(num + N);

    }

} 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];
        int min = Integer.MAX_VALUE;

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

        int num = X / min;

        System.out.println(num + N);

    }

} 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];
        int min = Integer.MAX_VALUE;

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

        int num = X / min;

        System.out.println(num + N);

    } main {

        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int X = sc.nextInt();
        int[] m = new int[N];
        int min = Integer.MAX_VALUE;

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

        int num = X / min;

        System.out.println(num + N);

    } 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 int min = Integer.MAX_VALUE; min Integer.MAX_VALUE Integer Integer.MAX_VALUE for (int i = 0; i < N; i++) {
            m[i] = sc.nextInt();
            X -= m[i];
            if (m[i] < min) {
                min = m[i];
            }
        } int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
            m[i] = sc.nextInt();
            X -= m[i];
            if (m[i] < min) {
                min = m[i];
            }
        } {
            m[i] = sc.nextInt();
            X -= m[i];
            if (m[i] < min) {
                min = m[i];
            }
        } m[i] = sc.nextInt() m[i] m i sc.nextInt() sc.nextInt sc X -= m[i] X m[i] m i if (m[i] < min) {
                min = m[i];
            } m[i] < min m[i] m i min {
                min = m[i];
            } min = m[i] min m[i] m i int num = X / min; num X / min X min System.out.println(num + N) System.out.println System.out System System.out num + N num N String[] args args 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];
        int min = Integer.MAX_VALUE;

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

        int num = X / min;

        System.out.println(num + N);

    }

} 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];
        int min = Integer.MAX_VALUE;

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

        int num = X / min;

        System.out.println(num + N);

    }

} Main
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];
        int min = Integer.MAX_VALUE;

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

        int num = X / min;

        System.out.println(num + N);

    }

}
