import java.util.Scanner;

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

        int min = Integer.MAX_VALUE;
        int sum = 0;
        int ans = n;

        for (int i = 0; i < n; i++) {
            m[i] = sc.nextInt();
            sum += m[i];
            if (min > m[i]) {
                min = m[i];
            }
        }
        sc.close();

        k -= sum;

        System.out.println(ans + k / min);
    }
} 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 k = sc.nextInt();
        int[] m = new int[n];

        int min = Integer.MAX_VALUE;
        int sum = 0;
        int ans = n;

        for (int i = 0; i < n; i++) {
            m[i] = sc.nextInt();
            sum += m[i];
            if (min > m[i]) {
                min = m[i];
            }
        }
        sc.close();

        k -= sum;

        System.out.println(ans + k / min);
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int k = sc.nextInt();
        int[] m = new int[n];

        int min = Integer.MAX_VALUE;
        int sum = 0;
        int ans = n;

        for (int i = 0; i < n; i++) {
            m[i] = sc.nextInt();
            sum += m[i];
            if (min > m[i]) {
                min = m[i];
            }
        }
        sc.close();

        k -= sum;

        System.out.println(ans + k / min);
    } main {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int k = sc.nextInt();
        int[] m = new int[n];

        int min = Integer.MAX_VALUE;
        int sum = 0;
        int ans = n;

        for (int i = 0; i < n; i++) {
            m[i] = sc.nextInt();
            sum += m[i];
            if (min > m[i]) {
                min = m[i];
            }
        }
        sc.close();

        k -= sum;

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

        int min = Integer.MAX_VALUE;
        int sum = 0;
        int ans = n;

        for (int i = 0; i < n; i++) {
            m[i] = sc.nextInt();
            sum += m[i];
            if (min > m[i]) {
                min = m[i];
            }
        }
        sc.close();

        k -= sum;

        System.out.println(ans + k / min);
    }
} public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int k = sc.nextInt();
        int[] m = new int[n];

        int min = Integer.MAX_VALUE;
        int sum = 0;
        int ans = n;

        for (int i = 0; i < n; i++) {
            m[i] = sc.nextInt();
            sum += m[i];
            if (min > m[i]) {
                min = m[i];
            }
        }
        sc.close();

        k -= sum;

        System.out.println(ans + k / min);
    }
} 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 k = sc.nextInt();
        int[] m = new int[n];

        int min = Integer.MAX_VALUE;
        int sum = 0;
        int ans = n;

        for (int i = 0; i < n; i++) {
            m[i] = sc.nextInt();
            sum += m[i];
            if (min > m[i]) {
                min = m[i];
            }
        }
        sc.close();

        k -= sum;

        System.out.println(ans + k / min);
    }
}