import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int n = in.nextInt(), x = in.nextInt();
        int sum = 0, min = Integer.MAX_VALUE;
        for(int i = 0; i < n; i++) {
            int m = in.nextInt();
            sum += m;
            min = Math.min(min, m);
        }
        System.out.println(n + (x - sum) / min);
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int n = in.nextInt(), x = in.nextInt();
        int sum = 0, min = Integer.MAX_VALUE;
        for(int i = 0; i < n; i++) {
            int m = in.nextInt();
            sum += m;
            min = Math.min(min, m);
        }
        System.out.println(n + (x - sum) / min);
    }
} Main public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int n = in.nextInt(), x = in.nextInt();
        int sum = 0, min = Integer.MAX_VALUE;
        for(int i = 0; i < n; i++) {
            int m = in.nextInt();
            sum += m;
            min = Math.min(min, m);
        }
        System.out.println(n + (x - sum) / min);
    } main {
        Scanner in = new Scanner(System.in);
        int n = in.nextInt(), x = in.nextInt();
        int sum = 0, min = Integer.MAX_VALUE;
        for(int i = 0; i < n; i++) {
            int m = in.nextInt();
            sum += m;
            min = Math.min(min, m);
        }
        System.out.println(n + (x - sum) / min);
    } Scanner in = new Scanner(System.in); in new Scanner(System.in) int n = in.nextInt() n in.nextInt() in.nextInt in x = in.nextInt(); x in.nextInt() in.nextInt in int sum = 0 sum 0 min = Integer.MAX_VALUE; min Integer.MAX_VALUE Integer Integer.MAX_VALUE for(int i = 0; i < n; i++) {
            int m = in.nextInt();
            sum += m;
            min = Math.min(min, m);
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
            int m = in.nextInt();
            sum += m;
            min = Math.min(min, m);
        } {
            int m = in.nextInt();
            sum += m;
            min = Math.min(min, m);
        } int m = in.nextInt(); m in.nextInt() in.nextInt in sum += m sum m min = Math.min(min, m) min Math.min(min, m) Math.min Math min m System.out.println(n + (x - sum) / min) System.out.println System.out System System.out n + (x - sum) / min n (x - sum) / min (x - sum) x sum min String[] args args public class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int n = in.nextInt(), x = in.nextInt();
        int sum = 0, min = Integer.MAX_VALUE;
        for(int i = 0; i < n; i++) {
            int m = in.nextInt();
            sum += m;
            min = Math.min(min, m);
        }
        System.out.println(n + (x - sum) / min);
    }
} public class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int n = in.nextInt(), x = in.nextInt();
        int sum = 0, min = Integer.MAX_VALUE;
        for(int i = 0; i < n; i++) {
            int m = in.nextInt();
            sum += m;
            min = Math.min(min, m);
        }
        System.out.println(n + (x - sum) / min);
    }
} Main
import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int n = in.nextInt(), x = in.nextInt();
        int sum = 0, min = Integer.MAX_VALUE;
        for(int i = 0; i < n; i++) {
            int m = in.nextInt();
            sum += m;
            min = Math.min(min, m);
        }
        System.out.println(n + (x - sum) / min);
    }
}