import java.util.Arrays;
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();
		Integer[] m = new Integer[N];
		int M = 0;
		for (int i=0; i<N; i++) {
			m[i] = sc.nextInt();
			M += m[i];
		}
		Arrays.sort(m);
		int S = m[0];
		int res = N + (X-M)/S;
		System.out.println(res);
	}
} import java.util.Arrays; Arrays java.util 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();
		Integer[] m = new Integer[N];
		int M = 0;
		for (int i=0; i<N; i++) {
			m[i] = sc.nextInt();
			M += m[i];
		}
		Arrays.sort(m);
		int S = m[0];
		int res = N + (X-M)/S;
		System.out.println(res);
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int X = sc.nextInt();
		Integer[] m = new Integer[N];
		int M = 0;
		for (int i=0; i<N; i++) {
			m[i] = sc.nextInt();
			M += m[i];
		}
		Arrays.sort(m);
		int S = m[0];
		int res = N + (X-M)/S;
		System.out.println(res);
	} main {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int X = sc.nextInt();
		Integer[] m = new Integer[N];
		int M = 0;
		for (int i=0; i<N; i++) {
			m[i] = sc.nextInt();
			M += m[i];
		}
		Arrays.sort(m);
		int S = m[0];
		int res = N + (X-M)/S;
		System.out.println(res);
	} 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 Integer[] m = new Integer[N]; m new Integer[N] N int M = 0; M 0 for (int i=0; i<N; i++) {
			m[i] = sc.nextInt();
			M += m[i];
		} int i=0; int i=0; i 0 i<N i N i++ i++ i {
			m[i] = sc.nextInt();
			M += m[i];
		} {
			m[i] = sc.nextInt();
			M += m[i];
		} m[i] = sc.nextInt() m[i] m i sc.nextInt() sc.nextInt sc M += m[i] M m[i] m i Arrays.sort(m) Arrays.sort Arrays m int S = m[0]; S m[0] m 0 int res = N + (X-M)/S; res N + (X-M)/S N (X-M)/S (X-M) X M S System.out.println(res) System.out.println System.out System System.out res 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();
		Integer[] m = new Integer[N];
		int M = 0;
		for (int i=0; i<N; i++) {
			m[i] = sc.nextInt();
			M += m[i];
		}
		Arrays.sort(m);
		int S = m[0];
		int res = N + (X-M)/S;
		System.out.println(res);
	}
} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int X = sc.nextInt();
		Integer[] m = new Integer[N];
		int M = 0;
		for (int i=0; i<N; i++) {
			m[i] = sc.nextInt();
			M += m[i];
		}
		Arrays.sort(m);
		int S = m[0];
		int res = N + (X-M)/S;
		System.out.println(res);
	}
} Main
import java.util.Arrays;
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();
		Integer[] m = new Integer[N];
		int M = 0;
		for (int i=0; i<N; i++) {
			m[i] = sc.nextInt();
			M += m[i];
		}
		Arrays.sort(m);
		int S = m[0];
		int res = N + (X-M)/S;
		System.out.println(res);
	}
}
