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

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