import java.util.Scanner;
import java.lang.Math;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
			int N =sc.nextInt();	
			int X =sc.nextInt();
			int []A=new int[N];
			int Y=X;
			int min=100000;
						
				for(int i=0;i<N;i++){
					A[i]=sc.nextInt();
				}
				for(int i=0;i<N;i++){
					Y=Y-A[i];
				}
				for(int i=0;i<N;i++){
					min=Math.min(min,A[i]);
				}
			System.out.println(N+Y/min);
	}
} import java.util.Scanner; Scanner java.util import java.lang.Math; Math java.lang public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
			int N =sc.nextInt();	
			int X =sc.nextInt();
			int []A=new int[N];
			int Y=X;
			int min=100000;
						
				for(int i=0;i<N;i++){
					A[i]=sc.nextInt();
				}
				for(int i=0;i<N;i++){
					Y=Y-A[i];
				}
				for(int i=0;i<N;i++){
					min=Math.min(min,A[i]);
				}
			System.out.println(N+Y/min);
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
			int N =sc.nextInt();	
			int X =sc.nextInt();
			int []A=new int[N];
			int Y=X;
			int min=100000;
						
				for(int i=0;i<N;i++){
					A[i]=sc.nextInt();
				}
				for(int i=0;i<N;i++){
					Y=Y-A[i];
				}
				for(int i=0;i<N;i++){
					min=Math.min(min,A[i]);
				}
			System.out.println(N+Y/min);
	} main {
		Scanner sc = new Scanner(System.in);
		
			int N =sc.nextInt();	
			int X =sc.nextInt();
			int []A=new int[N];
			int Y=X;
			int min=100000;
						
				for(int i=0;i<N;i++){
					A[i]=sc.nextInt();
				}
				for(int i=0;i<N;i++){
					Y=Y-A[i];
				}
				for(int i=0;i<N;i++){
					min=Math.min(min,A[i]);
				}
			System.out.println(N+Y/min);
	} 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 []A=new int[N]; A new int[N] N int Y=X; Y X int min=100000; min 100000 for(int i=0;i<N;i++){
					A[i]=sc.nextInt();
				} int i=0; int i=0; i 0 i<N i N i++ i++ i {
					A[i]=sc.nextInt();
				} {
					A[i]=sc.nextInt();
				} A[i]=sc.nextInt() A[i] A i sc.nextInt() sc.nextInt sc for(int i=0;i<N;i++){
					Y=Y-A[i];
				} int i=0; int i=0; i 0 i<N i N i++ i++ i {
					Y=Y-A[i];
				} {
					Y=Y-A[i];
				} Y=Y-A[i] Y Y-A[i] Y A[i] A i for(int i=0;i<N;i++){
					min=Math.min(min,A[i]);
				} int i=0; int i=0; i 0 i<N i N i++ i++ i {
					min=Math.min(min,A[i]);
				} {
					min=Math.min(min,A[i]);
				} min=Math.min(min,A[i]) min Math.min(min,A[i]) Math.min Math min A[i] A i System.out.println(N+Y/min) System.out.println System.out System System.out N+Y/min N Y/min Y min 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 []A=new int[N];
			int Y=X;
			int min=100000;
						
				for(int i=0;i<N;i++){
					A[i]=sc.nextInt();
				}
				for(int i=0;i<N;i++){
					Y=Y-A[i];
				}
				for(int i=0;i<N;i++){
					min=Math.min(min,A[i]);
				}
			System.out.println(N+Y/min);
	}
} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
			int N =sc.nextInt();	
			int X =sc.nextInt();
			int []A=new int[N];
			int Y=X;
			int min=100000;
						
				for(int i=0;i<N;i++){
					A[i]=sc.nextInt();
				}
				for(int i=0;i<N;i++){
					Y=Y-A[i];
				}
				for(int i=0;i<N;i++){
					min=Math.min(min,A[i]);
				}
			System.out.println(N+Y/min);
	}
} Main
import java.util.Scanner;
import java.lang.Math;

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