import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        try (Scanner sc = new Scanner(System.in)) {
            while (sc.hasNext()) {
                int n = sc.nextInt();
                int x = sc.nextInt();
                int[] ms = new int[n];
                for(int i = 0; i < n; i++){
                    ms[i] = sc.nextInt();
                }
                int sum = 0;
                int min = Integer.MAX_VALUE;
                int mini = 0;
                for(int i=0; i<n; i++){
                    sum += ms[i];
                    if(min > ms[i]){
                        min = ms[i];
                        mini = i;
                    }
                }
                int rest = x - sum;
                int restX = rest / min;
                System.out.println(n + restX);
            }
        }
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) throws Exception {
        try (Scanner sc = new Scanner(System.in)) {
            while (sc.hasNext()) {
                int n = sc.nextInt();
                int x = sc.nextInt();
                int[] ms = new int[n];
                for(int i = 0; i < n; i++){
                    ms[i] = sc.nextInt();
                }
                int sum = 0;
                int min = Integer.MAX_VALUE;
                int mini = 0;
                for(int i=0; i<n; i++){
                    sum += ms[i];
                    if(min > ms[i]){
                        min = ms[i];
                        mini = i;
                    }
                }
                int rest = x - sum;
                int restX = rest / min;
                System.out.println(n + restX);
            }
        }
    }
} Main public static void main(String[] args) throws Exception {
        try (Scanner sc = new Scanner(System.in)) {
            while (sc.hasNext()) {
                int n = sc.nextInt();
                int x = sc.nextInt();
                int[] ms = new int[n];
                for(int i = 0; i < n; i++){
                    ms[i] = sc.nextInt();
                }
                int sum = 0;
                int min = Integer.MAX_VALUE;
                int mini = 0;
                for(int i=0; i<n; i++){
                    sum += ms[i];
                    if(min > ms[i]){
                        min = ms[i];
                        mini = i;
                    }
                }
                int rest = x - sum;
                int restX = rest / min;
                System.out.println(n + restX);
            }
        }
    } main {
        try (Scanner sc = new Scanner(System.in)) {
            while (sc.hasNext()) {
                int n = sc.nextInt();
                int x = sc.nextInt();
                int[] ms = new int[n];
                for(int i = 0; i < n; i++){
                    ms[i] = sc.nextInt();
                }
                int sum = 0;
                int min = Integer.MAX_VALUE;
                int mini = 0;
                for(int i=0; i<n; i++){
                    sum += ms[i];
                    if(min > ms[i]){
                        min = ms[i];
                        mini = i;
                    }
                }
                int rest = x - sum;
                int restX = rest / min;
                System.out.println(n + restX);
            }
        }
    } try (Scanner sc = new Scanner(System.in)) {
            while (sc.hasNext()) {
                int n = sc.nextInt();
                int x = sc.nextInt();
                int[] ms = new int[n];
                for(int i = 0; i < n; i++){
                    ms[i] = sc.nextInt();
                }
                int sum = 0;
                int min = Integer.MAX_VALUE;
                int mini = 0;
                for(int i=0; i<n; i++){
                    sum += ms[i];
                    if(min > ms[i]){
                        min = ms[i];
                        mini = i;
                    }
                }
                int rest = x - sum;
                int restX = rest / min;
                System.out.println(n + restX);
            }
        } {
            while (sc.hasNext()) {
                int n = sc.nextInt();
                int x = sc.nextInt();
                int[] ms = new int[n];
                for(int i = 0; i < n; i++){
                    ms[i] = sc.nextInt();
                }
                int sum = 0;
                int min = Integer.MAX_VALUE;
                int mini = 0;
                for(int i=0; i<n; i++){
                    sum += ms[i];
                    if(min > ms[i]){
                        min = ms[i];
                        mini = i;
                    }
                }
                int rest = x - sum;
                int restX = rest / min;
                System.out.println(n + restX);
            }
        } Scanner sc = new Scanner(System.in) Scanner sc = new Scanner(System.in) new Scanner(System.in) while (sc.hasNext()) {
                int n = sc.nextInt();
                int x = sc.nextInt();
                int[] ms = new int[n];
                for(int i = 0; i < n; i++){
                    ms[i] = sc.nextInt();
                }
                int sum = 0;
                int min = Integer.MAX_VALUE;
                int mini = 0;
                for(int i=0; i<n; i++){
                    sum += ms[i];
                    if(min > ms[i]){
                        min = ms[i];
                        mini = i;
                    }
                }
                int rest = x - sum;
                int restX = rest / min;
                System.out.println(n + restX);
            } sc.hasNext() sc.hasNext sc {
                int n = sc.nextInt();
                int x = sc.nextInt();
                int[] ms = new int[n];
                for(int i = 0; i < n; i++){
                    ms[i] = sc.nextInt();
                }
                int sum = 0;
                int min = Integer.MAX_VALUE;
                int mini = 0;
                for(int i=0; i<n; i++){
                    sum += ms[i];
                    if(min > ms[i]){
                        min = ms[i];
                        mini = i;
                    }
                }
                int rest = x - sum;
                int restX = rest / min;
                System.out.println(n + restX);
            } 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 int sum = 0; sum 0 int min = Integer.MAX_VALUE; min Integer.MAX_VALUE Integer Integer.MAX_VALUE int mini = 0; mini 0 for(int i=0; i<n; i++){
                    sum += ms[i];
                    if(min > ms[i]){
                        min = ms[i];
                        mini = i;
                    }
                } int i=0; int i=0; i 0 i<n i n i++ i++ i {
                    sum += ms[i];
                    if(min > ms[i]){
                        min = ms[i];
                        mini = i;
                    }
                } {
                    sum += ms[i];
                    if(min > ms[i]){
                        min = ms[i];
                        mini = i;
                    }
                } sum += ms[i] sum ms[i] ms i if(min > ms[i]){
                        min = ms[i];
                        mini = i;
                    } min > ms[i] min ms[i] ms i {
                        min = ms[i];
                        mini = i;
                    } min = ms[i] min ms[i] ms i mini = i mini i int rest = x - sum; rest x - sum x sum int restX = rest / min; restX rest / min rest min System.out.println(n + restX) System.out.println System.out System System.out n + restX n restX String[] args args public class Main {
    public static void main(String[] args) throws Exception {
        try (Scanner sc = new Scanner(System.in)) {
            while (sc.hasNext()) {
                int n = sc.nextInt();
                int x = sc.nextInt();
                int[] ms = new int[n];
                for(int i = 0; i < n; i++){
                    ms[i] = sc.nextInt();
                }
                int sum = 0;
                int min = Integer.MAX_VALUE;
                int mini = 0;
                for(int i=0; i<n; i++){
                    sum += ms[i];
                    if(min > ms[i]){
                        min = ms[i];
                        mini = i;
                    }
                }
                int rest = x - sum;
                int restX = rest / min;
                System.out.println(n + restX);
            }
        }
    }
} public class Main {
    public static void main(String[] args) throws Exception {
        try (Scanner sc = new Scanner(System.in)) {
            while (sc.hasNext()) {
                int n = sc.nextInt();
                int x = sc.nextInt();
                int[] ms = new int[n];
                for(int i = 0; i < n; i++){
                    ms[i] = sc.nextInt();
                }
                int sum = 0;
                int min = Integer.MAX_VALUE;
                int mini = 0;
                for(int i=0; i<n; i++){
                    sum += ms[i];
                    if(min > ms[i]){
                        min = ms[i];
                        mini = i;
                    }
                }
                int rest = x - sum;
                int restX = rest / min;
                System.out.println(n + restX);
            }
        }
    }
} Main
import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        try (Scanner sc = new Scanner(System.in)) {
            while (sc.hasNext()) {
                int n = sc.nextInt();
                int x = sc.nextInt();
                int[] ms = new int[n];
                for(int i = 0; i < n; i++){
                    ms[i] = sc.nextInt();
                }
                int sum = 0;
                int min = Integer.MAX_VALUE;
                int mini = 0;
                for(int i=0; i<n; i++){
                    sum += ms[i];
                    if(min > ms[i]){
                        min = ms[i];
                        mini = i;
                    }
                }
                int rest = x - sum;
                int restX = rest / min;
                System.out.println(n + restX);
            }
        }
    }
}