import java.util.*;

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

        int N = sc.nextInt();
        int X = sc.nextInt();
        int[] ms = new int[N];

        for (int i = 0; i < N; i++) {
            ms[i] = sc.nextInt();
        }
        Arrays.sort(ms);
        int sum = 0;
        for (int m : ms) {
            sum += m;
        }
        int num = (X - sum + ms[0]) / ms[0];
        System.out.println(num + N - 1);
    }
} import java.util.*; util.* java class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int N = sc.nextInt();
        int X = sc.nextInt();
        int[] ms = new int[N];

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

        int N = sc.nextInt();
        int X = sc.nextInt();
        int[] ms = new int[N];

        for (int i = 0; i < N; i++) {
            ms[i] = sc.nextInt();
        }
        Arrays.sort(ms);
        int sum = 0;
        for (int m : ms) {
            sum += m;
        }
        int num = (X - sum + ms[0]) / ms[0];
        System.out.println(num + N - 1);
    } main {
        Scanner sc = new Scanner(System.in);

        int N = sc.nextInt();
        int X = sc.nextInt();
        int[] ms = new int[N];

        for (int i = 0; i < N; i++) {
            ms[i] = sc.nextInt();
        }
        Arrays.sort(ms);
        int sum = 0;
        for (int m : ms) {
            sum += m;
        }
        int num = (X - sum + ms[0]) / ms[0];
        System.out.println(num + N - 1);
    } 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[] ms = new int[N]; ms new int[N] N for (int i = 0; i < N; i++) {
            ms[i] = sc.nextInt();
        } int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
            ms[i] = sc.nextInt();
        } {
            ms[i] = sc.nextInt();
        } ms[i] = sc.nextInt() ms[i] ms i sc.nextInt() sc.nextInt sc Arrays.sort(ms) Arrays.sort Arrays ms int sum = 0; sum 0 for (int m : ms) {
            sum += m;
        } int m ms {
            sum += m;
        } {
            sum += m;
        } sum += m sum m int num = (X - sum + ms[0]) / ms[0]; num (X - sum + ms[0]) / ms[0] (X - sum + ms[0]) X - sum X sum ms[0] ms 0 ms[0] ms 0 System.out.println(num + N - 1) System.out.println System.out System System.out num + N - 1 num + N num N 1 String[] args args
import java.util.*;

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

        int N = sc.nextInt();
        int X = sc.nextInt();
        int[] ms = new int[N];

        for (int i = 0; i < N; i++) {
            ms[i] = sc.nextInt();
        }
        Arrays.sort(ms);
        int sum = 0;
        for (int m : ms) {
            sum += m;
        }
        int num = (X - sum + ms[0]) / ms[0];
        System.out.println(num + N - 1);
    }
}
