import 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 + 1];
        for (int i = 1; i <= N; ++i) {
            M[i] = sc.nextInt();
        }
        M[0] = 0;
        sc.close();

        Arrays.sort(M);
        int fl = X;
        for (int i = 1; i <= N; ++i) {
            fl -= M[i];
        }

        int ans = N;
        while (fl >= 0) {
            fl -= M[1];
            ans++;
        }

        System.out.println(ans - 1);
	}
} import java.util.*; util.* java 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 + 1];
        for (int i = 1; i <= N; ++i) {
            M[i] = sc.nextInt();
        }
        M[0] = 0;
        sc.close();

        Arrays.sort(M);
        int fl = X;
        for (int i = 1; i <= N; ++i) {
            fl -= M[i];
        }

        int ans = N;
        while (fl >= 0) {
            fl -= M[1];
            ans++;
        }

        System.out.println(ans - 1);
	}
} 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 + 1];
        for (int i = 1; i <= N; ++i) {
            M[i] = sc.nextInt();
        }
        M[0] = 0;
        sc.close();

        Arrays.sort(M);
        int fl = X;
        for (int i = 1; i <= N; ++i) {
            fl -= M[i];
        }

        int ans = N;
        while (fl >= 0) {
            fl -= M[1];
            ans++;
        }

        System.out.println(ans - 1);
	} main {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int X = sc.nextInt();
        int[] M = new int [N + 1];
        for (int i = 1; i <= N; ++i) {
            M[i] = sc.nextInt();
        }
        M[0] = 0;
        sc.close();

        Arrays.sort(M);
        int fl = X;
        for (int i = 1; i <= N; ++i) {
            fl -= M[i];
        }

        int ans = N;
        while (fl >= 0) {
            fl -= M[1];
            ans++;
        }

        System.out.println(ans - 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[] M = new int [N + 1]; M new int [N + 1] N + 1 N 1 for (int i = 1; i <= N; ++i) {
            M[i] = sc.nextInt();
        } int i = 1; int i = 1; i 1 i <= N i N ++i ++i i {
            M[i] = sc.nextInt();
        } {
            M[i] = sc.nextInt();
        } M[i] = sc.nextInt() M[i] M i sc.nextInt() sc.nextInt sc M[0] = 0 M[0] M 0 0 sc.close() sc.close sc Arrays.sort(M) Arrays.sort Arrays M int fl = X; fl X for (int i = 1; i <= N; ++i) {
            fl -= M[i];
        } int i = 1; int i = 1; i 1 i <= N i N ++i ++i i {
            fl -= M[i];
        } {
            fl -= M[i];
        } fl -= M[i] fl M[i] M i int ans = N; ans N while (fl >= 0) {
            fl -= M[1];
            ans++;
        } fl >= 0 fl 0 {
            fl -= M[1];
            ans++;
        } fl -= M[1] fl M[1] M 1 ans++ ans System.out.println(ans - 1) System.out.println System.out System System.out ans - 1 ans 1 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 + 1];
        for (int i = 1; i <= N; ++i) {
            M[i] = sc.nextInt();
        }
        M[0] = 0;
        sc.close();

        Arrays.sort(M);
        int fl = X;
        for (int i = 1; i <= N; ++i) {
            fl -= M[i];
        }

        int ans = N;
        while (fl >= 0) {
            fl -= M[1];
            ans++;
        }

        System.out.println(ans - 1);
	}
} 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 + 1];
        for (int i = 1; i <= N; ++i) {
            M[i] = sc.nextInt();
        }
        M[0] = 0;
        sc.close();

        Arrays.sort(M);
        int fl = X;
        for (int i = 1; i <= N; ++i) {
            fl -= M[i];
        }

        int ans = N;
        while (fl >= 0) {
            fl -= M[1];
            ans++;
        }

        System.out.println(ans - 1);
	}
} Main
import 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 + 1];
        for (int i = 1; i <= N; ++i) {
            M[i] = sc.nextInt();
        }
        M[0] = 0;
        sc.close();

        Arrays.sort(M);
        int fl = X;
        for (int i = 1; i <= N; ++i) {
            fl -= M[i];
        }

        int ans = N;
        while (fl >= 0) {
            fl -= M[1];
            ans++;
        }

        System.out.println(ans - 1);
	}
}
