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 m[] = new int[n];
		int total = n;
		int remain = x;
		for(int i = 0; i < n; i++) {
			m[i] = sc.nextInt();
			remain-=m[i];
		}
		int greatest = 0;
		if(remain > 0) {
			for(int i = 0; i < n; i++) {
				if((remain-remain%m[i])/m[i] > greatest) {
					greatest = (remain-remain%m[i])/m[i];
				}
			}
		}
		total+=greatest;
		
		System.out.println(total);
	}
} 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 m[] = new int[n];
		int total = n;
		int remain = x;
		for(int i = 0; i < n; i++) {
			m[i] = sc.nextInt();
			remain-=m[i];
		}
		int greatest = 0;
		if(remain > 0) {
			for(int i = 0; i < n; i++) {
				if((remain-remain%m[i])/m[i] > greatest) {
					greatest = (remain-remain%m[i])/m[i];
				}
			}
		}
		total+=greatest;
		
		System.out.println(total);
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner (System.in);
		int n = sc.nextInt();
		int x = sc.nextInt();
		int m[] = new int[n];
		int total = n;
		int remain = x;
		for(int i = 0; i < n; i++) {
			m[i] = sc.nextInt();
			remain-=m[i];
		}
		int greatest = 0;
		if(remain > 0) {
			for(int i = 0; i < n; i++) {
				if((remain-remain%m[i])/m[i] > greatest) {
					greatest = (remain-remain%m[i])/m[i];
				}
			}
		}
		total+=greatest;
		
		System.out.println(total);
	} main {
		Scanner sc = new Scanner (System.in);
		int n = sc.nextInt();
		int x = sc.nextInt();
		int m[] = new int[n];
		int total = n;
		int remain = x;
		for(int i = 0; i < n; i++) {
			m[i] = sc.nextInt();
			remain-=m[i];
		}
		int greatest = 0;
		if(remain > 0) {
			for(int i = 0; i < n; i++) {
				if((remain-remain%m[i])/m[i] > greatest) {
					greatest = (remain-remain%m[i])/m[i];
				}
			}
		}
		total+=greatest;
		
		System.out.println(total);
	} 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 m[] = new int[n]; m new int[n] n int total = n; total n int remain = x; remain x for(int i = 0; i < n; i++) {
			m[i] = sc.nextInt();
			remain-=m[i];
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			m[i] = sc.nextInt();
			remain-=m[i];
		} {
			m[i] = sc.nextInt();
			remain-=m[i];
		} m[i] = sc.nextInt() m[i] m i sc.nextInt() sc.nextInt sc remain-=m[i] remain m[i] m i int greatest = 0; greatest 0 if(remain > 0) {
			for(int i = 0; i < n; i++) {
				if((remain-remain%m[i])/m[i] > greatest) {
					greatest = (remain-remain%m[i])/m[i];
				}
			}
		} remain > 0 remain 0 {
			for(int i = 0; i < n; i++) {
				if((remain-remain%m[i])/m[i] > greatest) {
					greatest = (remain-remain%m[i])/m[i];
				}
			}
		} for(int i = 0; i < n; i++) {
				if((remain-remain%m[i])/m[i] > greatest) {
					greatest = (remain-remain%m[i])/m[i];
				}
			} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
				if((remain-remain%m[i])/m[i] > greatest) {
					greatest = (remain-remain%m[i])/m[i];
				}
			} {
				if((remain-remain%m[i])/m[i] > greatest) {
					greatest = (remain-remain%m[i])/m[i];
				}
			} if((remain-remain%m[i])/m[i] > greatest) {
					greatest = (remain-remain%m[i])/m[i];
				} (remain-remain%m[i])/m[i] > greatest (remain-remain%m[i])/m[i] (remain-remain%m[i]) remain remain%m[i] remain m[i] m i m[i] m i greatest {
					greatest = (remain-remain%m[i])/m[i];
				} greatest = (remain-remain%m[i])/m[i] greatest (remain-remain%m[i])/m[i] (remain-remain%m[i]) remain remain%m[i] remain m[i] m i m[i] m i total+=greatest total greatest System.out.println(total) System.out.println System.out System System.out total 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 m[] = new int[n];
		int total = n;
		int remain = x;
		for(int i = 0; i < n; i++) {
			m[i] = sc.nextInt();
			remain-=m[i];
		}
		int greatest = 0;
		if(remain > 0) {
			for(int i = 0; i < n; i++) {
				if((remain-remain%m[i])/m[i] > greatest) {
					greatest = (remain-remain%m[i])/m[i];
				}
			}
		}
		total+=greatest;
		
		System.out.println(total);
	}
} public class Main{
 
	public static void main(String[] args) {
		Scanner sc = new Scanner (System.in);
		int n = sc.nextInt();
		int x = sc.nextInt();
		int m[] = new int[n];
		int total = n;
		int remain = x;
		for(int i = 0; i < n; i++) {
			m[i] = sc.nextInt();
			remain-=m[i];
		}
		int greatest = 0;
		if(remain > 0) {
			for(int i = 0; i < n; i++) {
				if((remain-remain%m[i])/m[i] > greatest) {
					greatest = (remain-remain%m[i])/m[i];
				}
			}
		}
		total+=greatest;
		
		System.out.println(total);
	}
} 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 m[] = new int[n];
		int total = n;
		int remain = x;
		for(int i = 0; i < n; i++) {
			m[i] = sc.nextInt();
			remain-=m[i];
		}
		int greatest = 0;
		if(remain > 0) {
			for(int i = 0; i < n; i++) {
				if((remain-remain%m[i])/m[i] > greatest) {
					greatest = (remain-remain%m[i])/m[i];
				}
			}
		}
		total+=greatest;
		
		System.out.println(total);
	}
}