import java.util.Arrays;
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 mArr[] = new int[n];
        int cnt = 0;

        for (int i = 0; i < mArr.length; i++) {
            mArr[i] = sc.nextInt();
        }

        Arrays.sort(mArr);

        for (int i : mArr) {
            x -= i;
            cnt ++;
        }
        cnt += x / mArr[0];
        System.out.println(cnt);
    }
} import java.util.Arrays; Arrays java.util 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 mArr[] = new int[n];
        int cnt = 0;

        for (int i = 0; i < mArr.length; i++) {
            mArr[i] = sc.nextInt();
        }

        Arrays.sort(mArr);

        for (int i : mArr) {
            x -= i;
            cnt ++;
        }
        cnt += x / mArr[0];
        System.out.println(cnt);
    }
} 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 cnt = 0;

        for (int i = 0; i < mArr.length; i++) {
            mArr[i] = sc.nextInt();
        }

        Arrays.sort(mArr);

        for (int i : mArr) {
            x -= i;
            cnt ++;
        }
        cnt += x / mArr[0];
        System.out.println(cnt);
    } main {

        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int x = sc.nextInt();
        int mArr[] = new int[n];
        int cnt = 0;

        for (int i = 0; i < mArr.length; i++) {
            mArr[i] = sc.nextInt();
        }

        Arrays.sort(mArr);

        for (int i : mArr) {
            x -= i;
            cnt ++;
        }
        cnt += x / mArr[0];
        System.out.println(cnt);
    } 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 cnt = 0; cnt 0 for (int i = 0; i < mArr.length; i++) {
            mArr[i] = sc.nextInt();
        } int i = 0; int i = 0; i 0 i < mArr.length i mArr.length mArr mArr.length i++ i++ i {
            mArr[i] = sc.nextInt();
        } {
            mArr[i] = sc.nextInt();
        } mArr[i] = sc.nextInt() mArr[i] mArr i sc.nextInt() sc.nextInt sc Arrays.sort(mArr) Arrays.sort Arrays mArr for (int i : mArr) {
            x -= i;
            cnt ++;
        } int i mArr {
            x -= i;
            cnt ++;
        } {
            x -= i;
            cnt ++;
        } x -= i x i cnt ++ cnt cnt += x / mArr[0] cnt x / mArr[0] x mArr[0] mArr 0 System.out.println(cnt) System.out.println System.out System System.out cnt 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 cnt = 0;

        for (int i = 0; i < mArr.length; i++) {
            mArr[i] = sc.nextInt();
        }

        Arrays.sort(mArr);

        for (int i : mArr) {
            x -= i;
            cnt ++;
        }
        cnt += x / mArr[0];
        System.out.println(cnt);
    }
} 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 cnt = 0;

        for (int i = 0; i < mArr.length; i++) {
            mArr[i] = sc.nextInt();
        }

        Arrays.sort(mArr);

        for (int i : mArr) {
            x -= i;
            cnt ++;
        }
        cnt += x / mArr[0];
        System.out.println(cnt);
    }
} Main
import java.util.Arrays;
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 mArr[] = new int[n];
        int cnt = 0;

        for (int i = 0; i < mArr.length; i++) {
            mArr[i] = sc.nextInt();
        }

        Arrays.sort(mArr);

        for (int i : mArr) {
            x -= i;
            cnt ++;
        }
        cnt += x / mArr[0];
        System.out.println(cnt);
    }
}