import java.util.Scanner;

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

        int total = 0;
        int min = 1001;
        for (int i = 0; i < n; i++) {
            int m = sc.nextInt();
            min = Math.min(m, min);
            total++;
            x -= m;
        }

        total += x / min;

        System.out.println(total);
    }
} 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 x = sc.nextInt();

        int total = 0;
        int min = 1001;
        for (int i = 0; i < n; i++) {
            int m = sc.nextInt();
            min = Math.min(m, min);
            total++;
            x -= m;
        }

        total += x / min;

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

        int total = 0;
        int min = 1001;
        for (int i = 0; i < n; i++) {
            int m = sc.nextInt();
            min = Math.min(m, min);
            total++;
            x -= m;
        }

        total += x / min;

        System.out.println(total);
    } main {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int x = sc.nextInt();

        int total = 0;
        int min = 1001;
        for (int i = 0; i < n; i++) {
            int m = sc.nextInt();
            min = Math.min(m, min);
            total++;
            x -= m;
        }

        total += x / min;

        System.out.println(total);
    } 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 total = 0; total 0 int min = 1001; min 1001 for (int i = 0; i < n; i++) {
            int m = sc.nextInt();
            min = Math.min(m, min);
            total++;
            x -= m;
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
            int m = sc.nextInt();
            min = Math.min(m, min);
            total++;
            x -= m;
        } {
            int m = sc.nextInt();
            min = Math.min(m, min);
            total++;
            x -= m;
        } int m = sc.nextInt(); m sc.nextInt() sc.nextInt sc min = Math.min(m, min) min Math.min(m, min) Math.min Math m min total++ total x -= m x m total += x / min total x / min x min System.out.println(total) System.out.println System.out System System.out total String[] args args public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int x = sc.nextInt();

        int total = 0;
        int min = 1001;
        for (int i = 0; i < n; i++) {
            int m = sc.nextInt();
            min = Math.min(m, min);
            total++;
            x -= m;
        }

        total += x / min;

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

        int total = 0;
        int min = 1001;
        for (int i = 0; i < n; i++) {
            int m = sc.nextInt();
            min = Math.min(m, min);
            total++;
            x -= m;
        }

        total += x / min;

        System.out.println(total);
    }
} 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 x = sc.nextInt();

        int total = 0;
        int min = 1001;
        for (int i = 0; i < n; i++) {
            int m = sc.nextInt();
            min = Math.min(m, min);
            total++;
            x -= m;
        }

        total += x / min;

        System.out.println(total);
    }
}
