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[] mArr = new int[n];

        int count = 0;
        for (int i = 0; i < n; i++) {
            mArr[i] = sc.nextInt();
            x -= mArr[i];
            count++;
        }

        Arrays.sort(mArr);
        int min = mArr[0];
        count += x/min;

        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[] mArr = new int[n];

        int count = 0;
        for (int i = 0; i < n; i++) {
            mArr[i] = sc.nextInt();
            x -= mArr[i];
            count++;
        }

        Arrays.sort(mArr);
        int min = mArr[0];
        count += x/min;

        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[] mArr = new int[n];

        int count = 0;
        for (int i = 0; i < n; i++) {
            mArr[i] = sc.nextInt();
            x -= mArr[i];
            count++;
        }

        Arrays.sort(mArr);
        int min = mArr[0];
        count += x/min;

        System.out.println(count);
    } main {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int x = sc.nextInt();
        int[] mArr = new int[n];

        int count = 0;
        for (int i = 0; i < n; i++) {
            mArr[i] = sc.nextInt();
            x -= mArr[i];
            count++;
        }

        Arrays.sort(mArr);
        int min = mArr[0];
        count += x/min;

        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[] mArr = new int[n]; mArr new int[n] n int count = 0; count 0 for (int i = 0; i < n; i++) {
            mArr[i] = sc.nextInt();
            x -= mArr[i];
            count++;
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
            mArr[i] = sc.nextInt();
            x -= mArr[i];
            count++;
        } {
            mArr[i] = sc.nextInt();
            x -= mArr[i];
            count++;
        } mArr[i] = sc.nextInt() mArr[i] mArr i sc.nextInt() sc.nextInt sc x -= mArr[i] x mArr[i] mArr i count++ count Arrays.sort(mArr) Arrays.sort Arrays mArr int min = mArr[0]; min mArr[0] mArr 0 count += x/min count x/min x min 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[] mArr = new int[n];

        int count = 0;
        for (int i = 0; i < n; i++) {
            mArr[i] = sc.nextInt();
            x -= mArr[i];
            count++;
        }

        Arrays.sort(mArr);
        int min = mArr[0];
        count += x/min;

        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[] mArr = new int[n];

        int count = 0;
        for (int i = 0; i < n; i++) {
            mArr[i] = sc.nextInt();
            x -= mArr[i];
            count++;
        }

        Arrays.sort(mArr);
        int min = mArr[0];
        count += x/min;

        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[] mArr = new int[n];

        int count = 0;
        for (int i = 0; i < n; i++) {
            mArr[i] = sc.nextInt();
            x -= mArr[i];
            count++;
        }

        Arrays.sort(mArr);
        int min = mArr[0];
        count += x/min;

        System.out.println(count);
    }
}
