import java.util.Scanner;
import java.util.Arrays;

public class Main {

    public static void main(String[] args) {
        new Main().solve();
    }

    void solve() {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int X = sc.nextInt();
        int sum = 0;
        int[] m = new int[N];
        for (int i = 0; i < N; i++) {
            m[i] = sc.nextInt();
            sum += m[i];
        }
        Arrays.sort(m);
        X = X - sum;
        System.out.println(N + X / m[0]);
    }
} import java.util.Scanner; Scanner java.util import java.util.Arrays; Arrays java.util public class Main {

    public static void main(String[] args) {
        new Main().solve();
    }

    void solve() {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int X = sc.nextInt();
        int sum = 0;
        int[] m = new int[N];
        for (int i = 0; i < N; i++) {
            m[i] = sc.nextInt();
            sum += m[i];
        }
        Arrays.sort(m);
        X = X - sum;
        System.out.println(N + X / m[0]);
    }
} Main public static void main(String[] args) {
        new Main().solve();
    } main {
        new Main().solve();
    } new Main().solve() new Main().solve new Main() String[] args args void solve() {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int X = sc.nextInt();
        int sum = 0;
        int[] m = new int[N];
        for (int i = 0; i < N; i++) {
            m[i] = sc.nextInt();
            sum += m[i];
        }
        Arrays.sort(m);
        X = X - sum;
        System.out.println(N + X / m[0]);
    } solve {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int X = sc.nextInt();
        int sum = 0;
        int[] m = new int[N];
        for (int i = 0; i < N; i++) {
            m[i] = sc.nextInt();
            sum += m[i];
        }
        Arrays.sort(m);
        X = X - sum;
        System.out.println(N + X / m[0]);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int N = sc.nextInt(); N sc.nextInt() sc.nextInt sc int X = sc.nextInt(); X sc.nextInt() sc.nextInt sc int sum = 0; sum 0 int[] m = new int[N]; m new int[N] N for (int i = 0; i < N; i++) {
            m[i] = sc.nextInt();
            sum += m[i];
        } int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
            m[i] = sc.nextInt();
            sum += m[i];
        } {
            m[i] = sc.nextInt();
            sum += m[i];
        } m[i] = sc.nextInt() m[i] m i sc.nextInt() sc.nextInt sc sum += m[i] sum m[i] m i Arrays.sort(m) Arrays.sort Arrays m X = X - sum X X - sum X sum System.out.println(N + X / m[0]) System.out.println System.out System System.out N + X / m[0] N X / m[0] X m[0] m 0 public class Main {

    public static void main(String[] args) {
        new Main().solve();
    }

    void solve() {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int X = sc.nextInt();
        int sum = 0;
        int[] m = new int[N];
        for (int i = 0; i < N; i++) {
            m[i] = sc.nextInt();
            sum += m[i];
        }
        Arrays.sort(m);
        X = X - sum;
        System.out.println(N + X / m[0]);
    }
} public class Main {

    public static void main(String[] args) {
        new Main().solve();
    }

    void solve() {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int X = sc.nextInt();
        int sum = 0;
        int[] m = new int[N];
        for (int i = 0; i < N; i++) {
            m[i] = sc.nextInt();
            sum += m[i];
        }
        Arrays.sort(m);
        X = X - sum;
        System.out.println(N + X / m[0]);
    }
} Main
import java.util.Scanner;
import java.util.Arrays;

public class Main {

    public static void main(String[] args) {
        new Main().solve();
    }

    void solve() {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int X = sc.nextInt();
        int sum = 0;
        int[] m = new int[N];
        for (int i = 0; i < N; i++) {
            m[i] = sc.nextInt();
            sum += m[i];
        }
        Arrays.sort(m);
        X = X - sum;
        System.out.println(N + X / m[0]);
    }
}
