import java.util.*;
public class Main {

	static void solve() {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt(), X = sc.nextInt(), no = N, i = 0, t = 0;
		int[] a = new int[N];
		while (no-->0) {
			a[i++] = sc.nextInt();
			t+=a[i-1];
		}
		Arrays.sort(a);
		System.out.println(((X-t)/a[0])+N);
		sc.close();			
	}

	public static void main(String args[]) {
		solve();
	}

} import java.util.*; util.* java public class Main {

	static void solve() {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt(), X = sc.nextInt(), no = N, i = 0, t = 0;
		int[] a = new int[N];
		while (no-->0) {
			a[i++] = sc.nextInt();
			t+=a[i-1];
		}
		Arrays.sort(a);
		System.out.println(((X-t)/a[0])+N);
		sc.close();			
	}

	public static void main(String args[]) {
		solve();
	}

} Main static void solve() {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt(), X = sc.nextInt(), no = N, i = 0, t = 0;
		int[] a = new int[N];
		while (no-->0) {
			a[i++] = sc.nextInt();
			t+=a[i-1];
		}
		Arrays.sort(a);
		System.out.println(((X-t)/a[0])+N);
		sc.close();			
	} solve {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt(), X = sc.nextInt(), no = N, i = 0, t = 0;
		int[] a = new int[N];
		while (no-->0) {
			a[i++] = sc.nextInt();
			t+=a[i-1];
		}
		Arrays.sort(a);
		System.out.println(((X-t)/a[0])+N);
		sc.close();			
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int N = sc.nextInt() N sc.nextInt() sc.nextInt sc X = sc.nextInt() X sc.nextInt() sc.nextInt sc no = N no N i = 0 i 0 t = 0; t 0 int[] a = new int[N]; a new int[N] N while (no-->0) {
			a[i++] = sc.nextInt();
			t+=a[i-1];
		} no-->0 no-- no 0 {
			a[i++] = sc.nextInt();
			t+=a[i-1];
		} a[i++] = sc.nextInt() a[i++] a i++ i sc.nextInt() sc.nextInt sc t+=a[i-1] t a[i-1] a i-1 i 1 Arrays.sort(a) Arrays.sort Arrays a System.out.println(((X-t)/a[0])+N) System.out.println System.out System System.out ((X-t)/a[0])+N ((X-t)/a[0]) (X-t) X t a[0] a 0 N sc.close() sc.close sc public static void main(String args[]) {
		solve();
	} main {
		solve();
	} solve() solve String args[] args public class Main {

	static void solve() {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt(), X = sc.nextInt(), no = N, i = 0, t = 0;
		int[] a = new int[N];
		while (no-->0) {
			a[i++] = sc.nextInt();
			t+=a[i-1];
		}
		Arrays.sort(a);
		System.out.println(((X-t)/a[0])+N);
		sc.close();			
	}

	public static void main(String args[]) {
		solve();
	}

} public class Main {

	static void solve() {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt(), X = sc.nextInt(), no = N, i = 0, t = 0;
		int[] a = new int[N];
		while (no-->0) {
			a[i++] = sc.nextInt();
			t+=a[i-1];
		}
		Arrays.sort(a);
		System.out.println(((X-t)/a[0])+N);
		sc.close();			
	}

	public static void main(String args[]) {
		solve();
	}

} Main
import java.util.*;
public class Main {

	static void solve() {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt(), X = sc.nextInt(), no = N, i = 0, t = 0;
		int[] a = new int[N];
		while (no-->0) {
			a[i++] = sc.nextInt();
			t+=a[i-1];
		}
		Arrays.sort(a);
		System.out.println(((X-t)/a[0])+N);
		sc.close();			
	}

	public static void main(String args[]) {
		solve();
	}

}