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

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

} Main public static void main(String[] args) {
		
		Scanner scan = new Scanner(System.in);
		
		int N = scan.nextInt(), X = scan.nextInt();
		int min = Integer.MAX_VALUE , total=0;
		
		for(int i=0; i<N; i++) {
			int curr = scan.nextInt();
			if(curr < min) {
				min = curr;
			}
			total = total + curr;
		}
		
		System.out.println((int)((X-total)/min)+N);
		
	} main {
		
		Scanner scan = new Scanner(System.in);
		
		int N = scan.nextInt(), X = scan.nextInt();
		int min = Integer.MAX_VALUE , total=0;
		
		for(int i=0; i<N; i++) {
			int curr = scan.nextInt();
			if(curr < min) {
				min = curr;
			}
			total = total + curr;
		}
		
		System.out.println((int)((X-total)/min)+N);
		
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int N = scan.nextInt() N scan.nextInt() scan.nextInt scan X = scan.nextInt(); X scan.nextInt() scan.nextInt scan int min = Integer.MAX_VALUE min Integer.MAX_VALUE Integer Integer.MAX_VALUE total=0; total 0 for(int i=0; i<N; i++) {
			int curr = scan.nextInt();
			if(curr < min) {
				min = curr;
			}
			total = total + curr;
		} int i=0; int i=0; i 0 i<N i N i++ i++ i {
			int curr = scan.nextInt();
			if(curr < min) {
				min = curr;
			}
			total = total + curr;
		} {
			int curr = scan.nextInt();
			if(curr < min) {
				min = curr;
			}
			total = total + curr;
		} int curr = scan.nextInt(); curr scan.nextInt() scan.nextInt scan if(curr < min) {
				min = curr;
			} curr < min curr min {
				min = curr;
			} min = curr min curr total = total + curr total total + curr total curr System.out.println((int)((X-total)/min)+N) System.out.println System.out System System.out (int)((X-total)/min)+N (int)((X-total)/min) (X-total) X total min N String[] args args public class Main{
	
	public static void main(String[] args) {
		
		Scanner scan = new Scanner(System.in);
		
		int N = scan.nextInt(), X = scan.nextInt();
		int min = Integer.MAX_VALUE , total=0;
		
		for(int i=0; i<N; i++) {
			int curr = scan.nextInt();
			if(curr < min) {
				min = curr;
			}
			total = total + curr;
		}
		
		System.out.println((int)((X-total)/min)+N);
		
	}

} public class Main{
	
	public static void main(String[] args) {
		
		Scanner scan = new Scanner(System.in);
		
		int N = scan.nextInt(), X = scan.nextInt();
		int min = Integer.MAX_VALUE , total=0;
		
		for(int i=0; i<N; i++) {
			int curr = scan.nextInt();
			if(curr < min) {
				min = curr;
			}
			total = total + curr;
		}
		
		System.out.println((int)((X-total)/min)+N);
		
	}

} Main

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

}
