import java.util.Scanner;

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

        int count = 0;
        int min = Integer.MAX_VALUE;
        for (int i = 0; i < n; i++) {
            int value = sc.nextInt();
            sum -= value;
            min = Math.min(value, min);
            count++;
        }

        count += (sum / min);

        System.out.print(count);
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int sum = sc.nextInt();

        int count = 0;
        int min = Integer.MAX_VALUE;
        for (int i = 0; i < n; i++) {
            int value = sc.nextInt();
            sum -= value;
            min = Math.min(value, min);
            count++;
        }

        count += (sum / min);

        System.out.print(count);
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int sum = sc.nextInt();

        int count = 0;
        int min = Integer.MAX_VALUE;
        for (int i = 0; i < n; i++) {
            int value = sc.nextInt();
            sum -= value;
            min = Math.min(value, min);
            count++;
        }

        count += (sum / min);

        System.out.print(count);
    } main {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int sum = sc.nextInt();

        int count = 0;
        int min = Integer.MAX_VALUE;
        for (int i = 0; i < n; i++) {
            int value = sc.nextInt();
            sum -= value;
            min = Math.min(value, min);
            count++;
        }

        count += (sum / min);

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

        int count = 0;
        int min = Integer.MAX_VALUE;
        for (int i = 0; i < n; i++) {
            int value = sc.nextInt();
            sum -= value;
            min = Math.min(value, min);
            count++;
        }

        count += (sum / min);

        System.out.print(count);
    }
} public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int sum = sc.nextInt();

        int count = 0;
        int min = Integer.MAX_VALUE;
        for (int i = 0; i < n; i++) {
            int value = sc.nextInt();
            sum -= value;
            min = Math.min(value, min);
            count++;
        }

        count += (sum / min);

        System.out.print(count);
    }
} Main
import java.util.Scanner;

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

        int count = 0;
        int min = Integer.MAX_VALUE;
        for (int i = 0; i < n; i++) {
            int value = sc.nextInt();
            sum -= value;
            min = Math.min(value, min);
            count++;
        }

        count += (sum / min);

        System.out.print(count);
    }
}
