import 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 sum = 0;
        int count = n;
        int[] m = new int[n];
        for (int i = 0; i < n; i++) {
            m[i] = sc.nextInt();
        }
        for (int i = 0; i < n; i++) {
            sum += m[i];
        }
        x -= sum;
        Arrays.sort(m);
        while (true) {
            if (x >= m[0]) {
                x -= m[0];
                count++;
            } else {
                break;
            }
        }
        System.out.println(count);
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int x = sc.nextInt();
        int sum = 0;
        int count = n;
        int[] m = new int[n];
        for (int i = 0; i < n; i++) {
            m[i] = sc.nextInt();
        }
        for (int i = 0; i < n; i++) {
            sum += m[i];
        }
        x -= sum;
        Arrays.sort(m);
        while (true) {
            if (x >= m[0]) {
                x -= m[0];
                count++;
            } else {
                break;
            }
        }
        System.out.println(count);
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int x = sc.nextInt();
        int sum = 0;
        int count = n;
        int[] m = new int[n];
        for (int i = 0; i < n; i++) {
            m[i] = sc.nextInt();
        }
        for (int i = 0; i < n; i++) {
            sum += m[i];
        }
        x -= sum;
        Arrays.sort(m);
        while (true) {
            if (x >= m[0]) {
                x -= m[0];
                count++;
            } else {
                break;
            }
        }
        System.out.println(count);
    } main {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int x = sc.nextInt();
        int sum = 0;
        int count = n;
        int[] m = new int[n];
        for (int i = 0; i < n; i++) {
            m[i] = sc.nextInt();
        }
        for (int i = 0; i < n; i++) {
            sum += m[i];
        }
        x -= sum;
        Arrays.sort(m);
        while (true) {
            if (x >= m[0]) {
                x -= m[0];
                count++;
            } else {
                break;
            }
        }
        System.out.println(count);
    } 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 count = n; count n int[] m = new int[n]; m new int[n] n for (int i = 0; i < n; i++) {
            m[i] = sc.nextInt();
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
            m[i] = sc.nextInt();
        } {
            m[i] = sc.nextInt();
        } m[i] = sc.nextInt() m[i] m i sc.nextInt() sc.nextInt sc for (int i = 0; i < n; i++) {
            sum += m[i];
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
            sum += m[i];
        } {
            sum += m[i];
        } sum += m[i] sum m[i] m i x -= sum x sum Arrays.sort(m) Arrays.sort Arrays m while (true) {
            if (x >= m[0]) {
                x -= m[0];
                count++;
            } else {
                break;
            }
        } true {
            if (x >= m[0]) {
                x -= m[0];
                count++;
            } else {
                break;
            }
        } if (x >= m[0]) {
                x -= m[0];
                count++;
            } else {
                break;
            } x >= m[0] x m[0] m 0 {
                x -= m[0];
                count++;
            } x -= m[0] x m[0] m 0 count++ count {
                break;
            } break; System.out.println(count) System.out.println System.out System System.out count 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 sum = 0;
        int count = n;
        int[] m = new int[n];
        for (int i = 0; i < n; i++) {
            m[i] = sc.nextInt();
        }
        for (int i = 0; i < n; i++) {
            sum += m[i];
        }
        x -= sum;
        Arrays.sort(m);
        while (true) {
            if (x >= m[0]) {
                x -= m[0];
                count++;
            } else {
                break;
            }
        }
        System.out.println(count);
    }
} public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int x = sc.nextInt();
        int sum = 0;
        int count = n;
        int[] m = new int[n];
        for (int i = 0; i < n; i++) {
            m[i] = sc.nextInt();
        }
        for (int i = 0; i < n; i++) {
            sum += m[i];
        }
        x -= sum;
        Arrays.sort(m);
        while (true) {
            if (x >= m[0]) {
                x -= m[0];
                count++;
            } else {
                break;
            }
        }
        System.out.println(count);
    }
} Main
import 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 sum = 0;
        int count = n;
        int[] m = new int[n];
        for (int i = 0; i < n; i++) {
            m[i] = sc.nextInt();
        }
        for (int i = 0; i < n; i++) {
            sum += m[i];
        }
        x -= sum;
        Arrays.sort(m);
        while (true) {
            if (x >= m[0]) {
                x -= m[0];
                count++;
            } else {
                break;
            }
        }
        System.out.println(count);
    }
}