import java.util.*;


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


public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        
        int n = sc.nextInt();
        int x = sc.nextInt();
        int[] m = new int[n];
        int ans = 0;
        
        m[0] = sc.nextInt();
        x = x-m[0];
        int min = m[0];
        
        for(int i=1; i<n; i++){
            m[i] = sc.nextInt();
            x = x-m[i];
            if(min>m[i]){
                min = m[i];
            }
        }
        
        ans = x/min + n;
        
		System.out.println(ans);
    }
}
