import java.util.Scanner;

public class Main{

	public static void main(String args[]){

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

		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int x = sc.nextInt();
		int[] gram = new int[n];
		int min = 1000;
		
		for(int i = 0; i < n; i ++) {
			gram[i] = sc.nextInt();
			x -= gram[i];
			if(min > gram[i]) {
				min = gram[i];
				
			}
		}
		
		int j = x / min;
		System.out.println(n + j);
		
	} main {

		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int x = sc.nextInt();
		int[] gram = new int[n];
		int min = 1000;
		
		for(int i = 0; i < n; i ++) {
			gram[i] = sc.nextInt();
			x -= gram[i];
			if(min > gram[i]) {
				min = gram[i];
				
			}
		}
		
		int j = x / min;
		System.out.println(n + j);
		
	} 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[] gram = new int[n]; gram new int[n] n int min = 1000; min 1000 for(int i = 0; i < n; i ++) {
			gram[i] = sc.nextInt();
			x -= gram[i];
			if(min > gram[i]) {
				min = gram[i];
				
			}
		} int i = 0; int i = 0; i 0 i < n i n i ++ i ++ i {
			gram[i] = sc.nextInt();
			x -= gram[i];
			if(min > gram[i]) {
				min = gram[i];
				
			}
		} {
			gram[i] = sc.nextInt();
			x -= gram[i];
			if(min > gram[i]) {
				min = gram[i];
				
			}
		} gram[i] = sc.nextInt() gram[i] gram i sc.nextInt() sc.nextInt sc x -= gram[i] x gram[i] gram i if(min > gram[i]) {
				min = gram[i];
				
			} min > gram[i] min gram[i] gram i {
				min = gram[i];
				
			} min = gram[i] min gram[i] gram i int j = x / min; j x / min x min System.out.println(n + j) System.out.println System.out System System.out n + j n j 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[] gram = new int[n];
		int min = 1000;
		
		for(int i = 0; i < n; i ++) {
			gram[i] = sc.nextInt();
			x -= gram[i];
			if(min > gram[i]) {
				min = gram[i];
				
			}
		}
		
		int j = x / min;
		System.out.println(n + j);
		
	}
} public class Main{

	public static void main(String args[]){

		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int x = sc.nextInt();
		int[] gram = new int[n];
		int min = 1000;
		
		for(int i = 0; i < n; i ++) {
			gram[i] = sc.nextInt();
			x -= gram[i];
			if(min > gram[i]) {
				min = gram[i];
				
			}
		}
		
		int j = x / min;
		System.out.println(n + j);
		
	}
} Main
import java.util.Scanner;

public class Main{

	public static void main(String args[]){

		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int x = sc.nextInt();
		int[] gram = new int[n];
		int min = 1000;
		
		for(int i = 0; i < n; i ++) {
			gram[i] = sc.nextInt();
			x -= gram[i];
			if(min > gram[i]) {
				min = gram[i];
				
			}
		}
		
		int j = x / min;
		System.out.println(n + j);
		
	}
}
