import java.util.Scanner;

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

class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int x = sc.nextInt();
		int min = 1000;
		for (int i = 0; i < n; i++) {
			int m = sc.nextInt();
			if (m < min) {
				min = m;
			}
			x -= m;
		}
		int div = x / min;
		System.out.println(n + div);
	}
}