import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner cin = new Scanner(System.in);
        int N = cin.nextInt();
        int X = cin.nextInt();
        int[] m = new int[N];
        for (int i = 0; i < N; i++) {
            m[i] = cin.nextInt();
        }

        int x = X - m[0];
        int min = m[0];
        for (int i = 1; i < N; i++) {
            x -= m[i];
            min = Math.min(min, m[i]);
        }

        System.out.println(N + (x / min));
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        Scanner cin = new Scanner(System.in);
        int N = cin.nextInt();
        int X = cin.nextInt();
        int[] m = new int[N];
        for (int i = 0; i < N; i++) {
            m[i] = cin.nextInt();
        }

        int x = X - m[0];
        int min = m[0];
        for (int i = 1; i < N; i++) {
            x -= m[i];
            min = Math.min(min, m[i]);
        }

        System.out.println(N + (x / min));
    }
} Main public static void main(String[] args) {
        Scanner cin = new Scanner(System.in);
        int N = cin.nextInt();
        int X = cin.nextInt();
        int[] m = new int[N];
        for (int i = 0; i < N; i++) {
            m[i] = cin.nextInt();
        }

        int x = X - m[0];
        int min = m[0];
        for (int i = 1; i < N; i++) {
            x -= m[i];
            min = Math.min(min, m[i]);
        }

        System.out.println(N + (x / min));
    } main {
        Scanner cin = new Scanner(System.in);
        int N = cin.nextInt();
        int X = cin.nextInt();
        int[] m = new int[N];
        for (int i = 0; i < N; i++) {
            m[i] = cin.nextInt();
        }

        int x = X - m[0];
        int min = m[0];
        for (int i = 1; i < N; i++) {
            x -= m[i];
            min = Math.min(min, m[i]);
        }

        System.out.println(N + (x / min));
    } Scanner cin = new Scanner(System.in); cin new Scanner(System.in) int N = cin.nextInt(); N cin.nextInt() cin.nextInt cin int X = cin.nextInt(); X cin.nextInt() cin.nextInt cin int[] m = new int[N]; m new int[N] N for (int i = 0; i < N; i++) {
            m[i] = cin.nextInt();
        } int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
            m[i] = cin.nextInt();
        } {
            m[i] = cin.nextInt();
        } m[i] = cin.nextInt() m[i] m i cin.nextInt() cin.nextInt cin int x = X - m[0]; x X - m[0] X m[0] m 0 int min = m[0]; min m[0] m 0 for (int i = 1; i < N; i++) {
            x -= m[i];
            min = Math.min(min, m[i]);
        } int i = 1; int i = 1; i 1 i < N i N i++ i++ i {
            x -= m[i];
            min = Math.min(min, m[i]);
        } {
            x -= m[i];
            min = Math.min(min, m[i]);
        } x -= m[i] x m[i] m i min = Math.min(min, m[i]) min Math.min(min, m[i]) Math.min Math min m[i] m i System.out.println(N + (x / min)) System.out.println System.out System System.out N + (x / min) N (x / min) x min String[] args args public class Main {
    public static void main(String[] args) {
        Scanner cin = new Scanner(System.in);
        int N = cin.nextInt();
        int X = cin.nextInt();
        int[] m = new int[N];
        for (int i = 0; i < N; i++) {
            m[i] = cin.nextInt();
        }

        int x = X - m[0];
        int min = m[0];
        for (int i = 1; i < N; i++) {
            x -= m[i];
            min = Math.min(min, m[i]);
        }

        System.out.println(N + (x / min));
    }
} public class Main {
    public static void main(String[] args) {
        Scanner cin = new Scanner(System.in);
        int N = cin.nextInt();
        int X = cin.nextInt();
        int[] m = new int[N];
        for (int i = 0; i < N; i++) {
            m[i] = cin.nextInt();
        }

        int x = X - m[0];
        int min = m[0];
        for (int i = 1; i < N; i++) {
            x -= m[i];
            min = Math.min(min, m[i]);
        }

        System.out.println(N + (x / min));
    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner cin = new Scanner(System.in);
        int N = cin.nextInt();
        int X = cin.nextInt();
        int[] m = new int[N];
        for (int i = 0; i < N; i++) {
            m[i] = cin.nextInt();
        }

        int x = X - m[0];
        int min = m[0];
        for (int i = 1; i < N; i++) {
            x -= m[i];
            min = Math.min(min, m[i]);
        }

        System.out.println(N + (x / min));
    }
}