import java.util.*;

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

class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int x = sc.nextInt();
        int[] m = new int[n];
        int mmax = 0;
        int ans = n;
        for(int i = 0;i < n;i++){
            m[i] = sc.nextInt();
            mmax += m[i];
        }
        x -= mmax;
        Arrays.sort(m);
        while(x >= m[0]){
            x -= m[0];
            ans++;
        }
        System.out.println(ans);
    }
}