import java.util.Scanner;
import java.util.Arrays;

class Main {
    public static void main(String[] args){
    	 Scanner sc = new Scanner(System.in);
         int n = sc.nextInt();
         int max = sc.nextInt();
         int x = 1001;
         int y = 0;
         int count = 0;
         int[] d = new int[n];
         for(int i=0;i<n;i++){
            d[i]=sc.nextInt();
            x=Math.min(x,d[i]);
            y+=d[i];
         }
         System.out.println(n+(max-y)/x);
    }    
} import java.util.Scanner; Scanner java.util import java.util.Arrays; Arrays java.util class Main {
    public static void main(String[] args){
    	 Scanner sc = new Scanner(System.in);
         int n = sc.nextInt();
         int max = sc.nextInt();
         int x = 1001;
         int y = 0;
         int count = 0;
         int[] d = new int[n];
         for(int i=0;i<n;i++){
            d[i]=sc.nextInt();
            x=Math.min(x,d[i]);
            y+=d[i];
         }
         System.out.println(n+(max-y)/x);
    }    
} Main public static void main(String[] args){
    	 Scanner sc = new Scanner(System.in);
         int n = sc.nextInt();
         int max = sc.nextInt();
         int x = 1001;
         int y = 0;
         int count = 0;
         int[] d = new int[n];
         for(int i=0;i<n;i++){
            d[i]=sc.nextInt();
            x=Math.min(x,d[i]);
            y+=d[i];
         }
         System.out.println(n+(max-y)/x);
    } main {
    	 Scanner sc = new Scanner(System.in);
         int n = sc.nextInt();
         int max = sc.nextInt();
         int x = 1001;
         int y = 0;
         int count = 0;
         int[] d = new int[n];
         for(int i=0;i<n;i++){
            d[i]=sc.nextInt();
            x=Math.min(x,d[i]);
            y+=d[i];
         }
         System.out.println(n+(max-y)/x);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc int max = sc.nextInt(); max sc.nextInt() sc.nextInt sc int x = 1001; x 1001 int y = 0; y 0 int count = 0; count 0 int[] d = new int[n]; d new int[n] n for(int i=0;i<n;i++){
            d[i]=sc.nextInt();
            x=Math.min(x,d[i]);
            y+=d[i];
         } int i=0; int i=0; i 0 i<n i n i++ i++ i {
            d[i]=sc.nextInt();
            x=Math.min(x,d[i]);
            y+=d[i];
         } {
            d[i]=sc.nextInt();
            x=Math.min(x,d[i]);
            y+=d[i];
         } d[i]=sc.nextInt() d[i] d i sc.nextInt() sc.nextInt sc x=Math.min(x,d[i]) x Math.min(x,d[i]) Math.min Math x d[i] d i y+=d[i] y d[i] d i System.out.println(n+(max-y)/x) System.out.println System.out System System.out n+(max-y)/x n (max-y)/x (max-y) max y x String[] args args
import java.util.Scanner;
import java.util.Arrays;

class Main {
    public static void main(String[] args){
    	 Scanner sc = new Scanner(System.in);
         int n = sc.nextInt();
         int max = sc.nextInt();
         int x = 1001;
         int y = 0;
         int count = 0;
         int[] d = new int[n];
         for(int i=0;i<n;i++){
            d[i]=sc.nextInt();
            x=Math.min(x,d[i]);
            y+=d[i];
         }
         System.out.println(n+(max-y)/x);
    }    
}