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 donut = n;
        int min = 1000;
        int add = 0;

        int[] m = new int[n];
        for (int i = 0; i < n; i++) {
            m[i] = sc.nextInt();
            add += m[i];
            if (min > m[i]) {
                min = m[i];
            }
        }
        donut += (x - add) / min;

        System.out.println(donut);
    }
} 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 donut = n;
        int min = 1000;
        int add = 0;

        int[] m = new int[n];
        for (int i = 0; i < n; i++) {
            m[i] = sc.nextInt();
            add += m[i];
            if (min > m[i]) {
                min = m[i];
            }
        }
        donut += (x - add) / min;

        System.out.println(donut);
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int n = sc.nextInt();
        int x = sc.nextInt();
        int donut = n;
        int min = 1000;
        int add = 0;

        int[] m = new int[n];
        for (int i = 0; i < n; i++) {
            m[i] = sc.nextInt();
            add += m[i];
            if (min > m[i]) {
                min = m[i];
            }
        }
        donut += (x - add) / min;

        System.out.println(donut);
    } main {
        Scanner sc = new Scanner(System.in);

        int n = sc.nextInt();
        int x = sc.nextInt();
        int donut = n;
        int min = 1000;
        int add = 0;

        int[] m = new int[n];
        for (int i = 0; i < n; i++) {
            m[i] = sc.nextInt();
            add += m[i];
            if (min > m[i]) {
                min = m[i];
            }
        }
        donut += (x - add) / min;

        System.out.println(donut);
    } 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 donut = n; donut n int min = 1000; min 1000 int add = 0; add 0 int[] m = new int[n]; m new int[n] n for (int i = 0; i < n; i++) {
            m[i] = sc.nextInt();
            add += 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();
            add += m[i];
            if (min > m[i]) {
                min = m[i];
            }
        } {
            m[i] = sc.nextInt();
            add += m[i];
            if (min > m[i]) {
                min = m[i];
            }
        } m[i] = sc.nextInt() m[i] m i sc.nextInt() sc.nextInt sc add += m[i] add 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 donut += (x - add) / min donut (x - add) / min (x - add) x add min System.out.println(donut) System.out.println System.out System System.out donut 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 donut = n;
        int min = 1000;
        int add = 0;

        int[] m = new int[n];
        for (int i = 0; i < n; i++) {
            m[i] = sc.nextInt();
            add += m[i];
            if (min > m[i]) {
                min = m[i];
            }
        }
        donut += (x - add) / min;

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

        int n = sc.nextInt();
        int x = sc.nextInt();
        int donut = n;
        int min = 1000;
        int add = 0;

        int[] m = new int[n];
        for (int i = 0; i < n; i++) {
            m[i] = sc.nextInt();
            add += m[i];
            if (min > m[i]) {
                min = m[i];
            }
        }
        donut += (x - add) / min;

        System.out.println(donut);
    }
} 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 donut = n;
        int min = 1000;
        int add = 0;

        int[] m = new int[n];
        for (int i = 0; i < n; i++) {
            m[i] = sc.nextInt();
            add += m[i];
            if (min > m[i]) {
                min = m[i];
            }
        }
        donut += (x - add) / min;

        System.out.println(donut);
    }
}