import java.util.*;
public class Main{

	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int X = sc.nextInt();
		int min = 1000;
		for(int i = 0; i < N ; i++){
			int a = sc.nextInt();
			X -= a;
			if(min > a){
				min = a;
			}
			
		}
		
		N += X/min;
		System.out.println(N);
	}
} import java.util.*; util.* java public class Main{

	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int X = sc.nextInt();
		int min = 1000;
		for(int i = 0; i < N ; i++){
			int a = sc.nextInt();
			X -= a;
			if(min > a){
				min = a;
			}
			
		}
		
		N += X/min;
		System.out.println(N);
	}
} Main public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int X = sc.nextInt();
		int min = 1000;
		for(int i = 0; i < N ; i++){
			int a = sc.nextInt();
			X -= a;
			if(min > a){
				min = a;
			}
			
		}
		
		N += X/min;
		System.out.println(N);
	} main {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int X = sc.nextInt();
		int min = 1000;
		for(int i = 0; i < N ; i++){
			int a = sc.nextInt();
			X -= a;
			if(min > a){
				min = a;
			}
			
		}
		
		N += X/min;
		System.out.println(N);
	} 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 min = 1000; min 1000 for(int i = 0; i < N ; i++){
			int a = sc.nextInt();
			X -= a;
			if(min > a){
				min = a;
			}
			
		} int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
			int a = sc.nextInt();
			X -= a;
			if(min > a){
				min = a;
			}
			
		} {
			int a = sc.nextInt();
			X -= a;
			if(min > a){
				min = a;
			}
			
		} int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc X -= a X a if(min > a){
				min = a;
			} min > a min a {
				min = a;
			} min = a min a N += X/min N X/min X min System.out.println(N) System.out.println System.out System System.out N 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 min = 1000;
		for(int i = 0; i < N ; i++){
			int a = sc.nextInt();
			X -= a;
			if(min > a){
				min = a;
			}
			
		}
		
		N += X/min;
		System.out.println(N);
	}
} public class Main{

	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int X = sc.nextInt();
		int min = 1000;
		for(int i = 0; i < N ; i++){
			int a = sc.nextInt();
			X -= a;
			if(min > a){
				min = a;
			}
			
		}
		
		N += X/min;
		System.out.println(N);
	}
} Main
import java.util.*;
public class Main{

	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int X = sc.nextInt();
		int min = 1000;
		for(int i = 0; i < N ; i++){
			int a = sc.nextInt();
			X -= a;
			if(min > a){
				min = a;
			}
			
		}
		
		N += X/min;
		System.out.println(N);
	}
}
