import java.util.*;

public class Main {
    static Scanner scanner = new Scanner(System.in);

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

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

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

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

public class Main {
    static Scanner scanner = new Scanner(System.in);

    public static void main(String[]$) {
        int n = scanner.nextInt();
        int x = scanner.nextInt();
        int min = Integer.MAX_VALUE;
        for (int i = 0; i < n; i++) {
            int m = scanner.nextInt();
            x -= m;
            min = Math.min(min, m);
        }
        System.out.println(n + x / min);
    }
}