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 sumG = 0;
        int minDonut = 1001;

        for (int i = 0; i < n; i++) {
            m[i] = sc.nextInt();
            sumG += m[i];
            minDonut = Math.min(minDonut, m[i]);
        }

        int sumDonut = n + (x - sumG) / minDonut;
        System.out.println(sumDonut);
    }
} 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 sumG = 0;
        int minDonut = 1001;

        for (int i = 0; i < n; i++) {
            m[i] = sc.nextInt();
            sumG += m[i];
            minDonut = Math.min(minDonut, m[i]);
        }

        int sumDonut = n + (x - sumG) / minDonut;
        System.out.println(sumDonut);
    }
} 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 sumG = 0;
        int minDonut = 1001;

        for (int i = 0; i < n; i++) {
            m[i] = sc.nextInt();
            sumG += m[i];
            minDonut = Math.min(minDonut, m[i]);
        }

        int sumDonut = n + (x - sumG) / minDonut;
        System.out.println(sumDonut);
    } main {
        Scanner sc = new Scanner(System.in);

        int n = sc.nextInt();
        int x = sc.nextInt();
        int[] m = new int[n];

        int sumG = 0;
        int minDonut = 1001;

        for (int i = 0; i < n; i++) {
            m[i] = sc.nextInt();
            sumG += m[i];
            minDonut = Math.min(minDonut, m[i]);
        }

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

        for (int i = 0; i < n; i++) {
            m[i] = sc.nextInt();
            sumG += m[i];
            minDonut = Math.min(minDonut, m[i]);
        }

        int sumDonut = n + (x - sumG) / minDonut;
        System.out.println(sumDonut);
    }
} 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 sumG = 0;
        int minDonut = 1001;

        for (int i = 0; i < n; i++) {
            m[i] = sc.nextInt();
            sumG += m[i];
            minDonut = Math.min(minDonut, m[i]);
        }

        int sumDonut = n + (x - sumG) / minDonut;
        System.out.println(sumDonut);
    }
} 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 sumG = 0;
        int minDonut = 1001;

        for (int i = 0; i < n; i++) {
            m[i] = sc.nextInt();
            sumG += m[i];
            minDonut = Math.min(minDonut, m[i]);
        }

        int sumDonut = n + (x - sumG) / minDonut;
        System.out.println(sumDonut);
    }
}
