import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        // get a integer
        int n = sc.nextInt();
        // get two integers separated with half-width break
        int x = sc.nextInt();

        int m[] = new int[100];

        int smallest = 999999;
        int sum = 0;
        for (int i = 0; i < n; ++i) {
            int mi = sc.nextInt();
            sum += mi;
            m[i] = mi;
            if (mi < smallest) {
                smallest = mi;
            }
        }


        int rest = x - sum;
        int additional = rest / smallest;
        int result = n + additional;

        System.out.println(result);
    }

} import java.util.Scanner; Scanner java.util public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        // get a integer
        int n = sc.nextInt();
        // get two integers separated with half-width break
        int x = sc.nextInt();

        int m[] = new int[100];

        int smallest = 999999;
        int sum = 0;
        for (int i = 0; i < n; ++i) {
            int mi = sc.nextInt();
            sum += mi;
            m[i] = mi;
            if (mi < smallest) {
                smallest = mi;
            }
        }


        int rest = x - sum;
        int additional = rest / smallest;
        int result = n + additional;

        System.out.println(result);
    }

} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        // get a integer
        int n = sc.nextInt();
        // get two integers separated with half-width break
        int x = sc.nextInt();

        int m[] = new int[100];

        int smallest = 999999;
        int sum = 0;
        for (int i = 0; i < n; ++i) {
            int mi = sc.nextInt();
            sum += mi;
            m[i] = mi;
            if (mi < smallest) {
                smallest = mi;
            }
        }


        int rest = x - sum;
        int additional = rest / smallest;
        int result = n + additional;

        System.out.println(result);
    } main {
        Scanner sc = new Scanner(System.in);
        // get a integer
        int n = sc.nextInt();
        // get two integers separated with half-width break
        int x = sc.nextInt();

        int m[] = new int[100];

        int smallest = 999999;
        int sum = 0;
        for (int i = 0; i < n; ++i) {
            int mi = sc.nextInt();
            sum += mi;
            m[i] = mi;
            if (mi < smallest) {
                smallest = mi;
            }
        }


        int rest = x - sum;
        int additional = rest / smallest;
        int result = n + additional;

        System.out.println(result);
    } 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 m[] = new int[100]; m new int[100] 100 int smallest = 999999; smallest 999999 int sum = 0; sum 0 for (int i = 0; i < n; ++i) {
            int mi = sc.nextInt();
            sum += mi;
            m[i] = mi;
            if (mi < smallest) {
                smallest = mi;
            }
        } int i = 0; int i = 0; i 0 i < n i n ++i ++i i {
            int mi = sc.nextInt();
            sum += mi;
            m[i] = mi;
            if (mi < smallest) {
                smallest = mi;
            }
        } {
            int mi = sc.nextInt();
            sum += mi;
            m[i] = mi;
            if (mi < smallest) {
                smallest = mi;
            }
        } int mi = sc.nextInt(); mi sc.nextInt() sc.nextInt sc sum += mi sum mi m[i] = mi m[i] m i mi if (mi < smallest) {
                smallest = mi;
            } mi < smallest mi smallest {
                smallest = mi;
            } smallest = mi smallest mi int rest = x - sum; rest x - sum x sum int additional = rest / smallest; additional rest / smallest rest smallest int result = n + additional; result n + additional n additional System.out.println(result) System.out.println System.out System System.out result String[] args args public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        // get a integer
        int n = sc.nextInt();
        // get two integers separated with half-width break
        int x = sc.nextInt();

        int m[] = new int[100];

        int smallest = 999999;
        int sum = 0;
        for (int i = 0; i < n; ++i) {
            int mi = sc.nextInt();
            sum += mi;
            m[i] = mi;
            if (mi < smallest) {
                smallest = mi;
            }
        }


        int rest = x - sum;
        int additional = rest / smallest;
        int result = n + additional;

        System.out.println(result);
    }

} public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        // get a integer
        int n = sc.nextInt();
        // get two integers separated with half-width break
        int x = sc.nextInt();

        int m[] = new int[100];

        int smallest = 999999;
        int sum = 0;
        for (int i = 0; i < n; ++i) {
            int mi = sc.nextInt();
            sum += mi;
            m[i] = mi;
            if (mi < smallest) {
                smallest = mi;
            }
        }


        int rest = x - sum;
        int additional = rest / smallest;
        int result = n + additional;

        System.out.println(result);
    }

} Main
import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        // get a integer
        int n = sc.nextInt();
        // get two integers separated with half-width break
        int x = sc.nextInt();

        int m[] = new int[100];

        int smallest = 999999;
        int sum = 0;
        for (int i = 0; i < n; ++i) {
            int mi = sc.nextInt();
            sum += mi;
            m[i] = mi;
            if (mi < smallest) {
                smallest = mi;
            }
        }


        int rest = x - sum;
        int additional = rest / smallest;
        int result = n + additional;

        System.out.println(result);
    }

}