import static java.lang.System.*;
import java.util.*;
 
public class Main {
	static Scanner sc = new Scanner(System.in);
	public static void main(String[] args) {
		int n=sc.nextInt(), x=sc.nextInt();
		int min = Integer.MAX_VALUE;
		for (int i=0; i<n; i++) {
			int temp = sc.nextInt();
			min = Math.min(min,temp);
			x -= temp;
		}
		out.println(n+(x/min));
	}
} import static java.lang.System.*; import static java.lang.System.*; import static java.lang.System.*; import java.util.*; util.* java public class Main {
	static Scanner sc = new Scanner(System.in);
	public static void main(String[] args) {
		int n=sc.nextInt(), x=sc.nextInt();
		int min = Integer.MAX_VALUE;
		for (int i=0; i<n; i++) {
			int temp = sc.nextInt();
			min = Math.min(min,temp);
			x -= temp;
		}
		out.println(n+(x/min));
	}
} Main static Scanner sc = new Scanner(System.in); sc new Scanner(System.in) public static void main(String[] args) {
		int n=sc.nextInt(), x=sc.nextInt();
		int min = Integer.MAX_VALUE;
		for (int i=0; i<n; i++) {
			int temp = sc.nextInt();
			min = Math.min(min,temp);
			x -= temp;
		}
		out.println(n+(x/min));
	} main {
		int n=sc.nextInt(), x=sc.nextInt();
		int min = Integer.MAX_VALUE;
		for (int i=0; i<n; i++) {
			int temp = sc.nextInt();
			min = Math.min(min,temp);
			x -= temp;
		}
		out.println(n+(x/min));
	} int n=sc.nextInt() n sc.nextInt() sc.nextInt sc x=sc.nextInt(); x sc.nextInt() sc.nextInt sc int min = Integer.MAX_VALUE; min Integer.MAX_VALUE Integer Integer.MAX_VALUE for (int i=0; i<n; i++) {
			int temp = sc.nextInt();
			min = Math.min(min,temp);
			x -= temp;
		} int i=0; int i=0; i 0 i<n i n i++ i++ i {
			int temp = sc.nextInt();
			min = Math.min(min,temp);
			x -= temp;
		} {
			int temp = sc.nextInt();
			min = Math.min(min,temp);
			x -= temp;
		} int temp = sc.nextInt(); temp sc.nextInt() sc.nextInt sc min = Math.min(min,temp) min Math.min(min,temp) Math.min Math min temp x -= temp x temp out.println(n+(x/min)) out.println out n+(x/min) n (x/min) x min String[] args args public class Main {
	static Scanner sc = new Scanner(System.in);
	public static void main(String[] args) {
		int n=sc.nextInt(), x=sc.nextInt();
		int min = Integer.MAX_VALUE;
		for (int i=0; i<n; i++) {
			int temp = sc.nextInt();
			min = Math.min(min,temp);
			x -= temp;
		}
		out.println(n+(x/min));
	}
} public class Main {
	static Scanner sc = new Scanner(System.in);
	public static void main(String[] args) {
		int n=sc.nextInt(), x=sc.nextInt();
		int min = Integer.MAX_VALUE;
		for (int i=0; i<n; i++) {
			int temp = sc.nextInt();
			min = Math.min(min,temp);
			x -= temp;
		}
		out.println(n+(x/min));
	}
} Main
import static java.lang.System.*;
import java.util.*;
 
public class Main {
	static Scanner sc = new Scanner(System.in);
	public static void main(String[] args) {
		int n=sc.nextInt(), x=sc.nextInt();
		int min = Integer.MAX_VALUE;
		for (int i=0; i<n; i++) {
			int temp = sc.nextInt();
			min = Math.min(min,temp);
			x -= temp;
		}
		out.println(n+(x/min));
	}
}