import java.util.Arrays;
import java.util.Scanner;

public class Main {
	static int chocoAmount;

	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		int N = s.nextInt();
		int X = s.nextInt();

		int[] race = new int[N];
		int donuts = 0;
		int result = 0;

		for (int i = 0; i < N; i++) {
			race[i] = s.nextInt();
			donuts += race[i];
		}
		int rest = X - donuts;
		Arrays.sort(race);

		if (race[0]<rest) {
			result = rest / race[0];
			System.out.println(result + N);
		} else {
			System.out.println(N);
		}
	}
} import java.util.Arrays; Arrays java.util import java.util.Scanner; Scanner java.util public class Main {
	static int chocoAmount;

	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		int N = s.nextInt();
		int X = s.nextInt();

		int[] race = new int[N];
		int donuts = 0;
		int result = 0;

		for (int i = 0; i < N; i++) {
			race[i] = s.nextInt();
			donuts += race[i];
		}
		int rest = X - donuts;
		Arrays.sort(race);

		if (race[0]<rest) {
			result = rest / race[0];
			System.out.println(result + N);
		} else {
			System.out.println(N);
		}
	}
} Main static int chocoAmount; chocoAmount public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		int N = s.nextInt();
		int X = s.nextInt();

		int[] race = new int[N];
		int donuts = 0;
		int result = 0;

		for (int i = 0; i < N; i++) {
			race[i] = s.nextInt();
			donuts += race[i];
		}
		int rest = X - donuts;
		Arrays.sort(race);

		if (race[0]<rest) {
			result = rest / race[0];
			System.out.println(result + N);
		} else {
			System.out.println(N);
		}
	} main {
		Scanner s = new Scanner(System.in);
		int N = s.nextInt();
		int X = s.nextInt();

		int[] race = new int[N];
		int donuts = 0;
		int result = 0;

		for (int i = 0; i < N; i++) {
			race[i] = s.nextInt();
			donuts += race[i];
		}
		int rest = X - donuts;
		Arrays.sort(race);

		if (race[0]<rest) {
			result = rest / race[0];
			System.out.println(result + N);
		} else {
			System.out.println(N);
		}
	} Scanner s = new Scanner(System.in); s new Scanner(System.in) int N = s.nextInt(); N s.nextInt() s.nextInt s int X = s.nextInt(); X s.nextInt() s.nextInt s int[] race = new int[N]; race new int[N] N int donuts = 0; donuts 0 int result = 0; result 0 for (int i = 0; i < N; i++) {
			race[i] = s.nextInt();
			donuts += race[i];
		} int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
			race[i] = s.nextInt();
			donuts += race[i];
		} {
			race[i] = s.nextInt();
			donuts += race[i];
		} race[i] = s.nextInt() race[i] race i s.nextInt() s.nextInt s donuts += race[i] donuts race[i] race i int rest = X - donuts; rest X - donuts X donuts Arrays.sort(race) Arrays.sort Arrays race if (race[0]<rest) {
			result = rest / race[0];
			System.out.println(result + N);
		} else {
			System.out.println(N);
		} race[0]<rest race[0] race 0 rest {
			result = rest / race[0];
			System.out.println(result + N);
		} result = rest / race[0] result rest / race[0] rest race[0] race 0 System.out.println(result + N) System.out.println System.out System System.out result + N result N {
			System.out.println(N);
		} System.out.println(N) System.out.println System.out System System.out N String[] args args public class Main {
	static int chocoAmount;

	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		int N = s.nextInt();
		int X = s.nextInt();

		int[] race = new int[N];
		int donuts = 0;
		int result = 0;

		for (int i = 0; i < N; i++) {
			race[i] = s.nextInt();
			donuts += race[i];
		}
		int rest = X - donuts;
		Arrays.sort(race);

		if (race[0]<rest) {
			result = rest / race[0];
			System.out.println(result + N);
		} else {
			System.out.println(N);
		}
	}
} public class Main {
	static int chocoAmount;

	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		int N = s.nextInt();
		int X = s.nextInt();

		int[] race = new int[N];
		int donuts = 0;
		int result = 0;

		for (int i = 0; i < N; i++) {
			race[i] = s.nextInt();
			donuts += race[i];
		}
		int rest = X - donuts;
		Arrays.sort(race);

		if (race[0]<rest) {
			result = rest / race[0];
			System.out.println(result + N);
		} else {
			System.out.println(N);
		}
	}
} Main
import java.util.Arrays;
import java.util.Scanner;

public class Main {
	static int chocoAmount;

	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		int N = s.nextInt();
		int X = s.nextInt();

		int[] race = new int[N];
		int donuts = 0;
		int result = 0;

		for (int i = 0; i < N; i++) {
			race[i] = s.nextInt();
			donuts += race[i];
		}
		int rest = X - donuts;
		Arrays.sort(race);

		if (race[0]<rest) {
			result = rest / race[0];
			System.out.println(result + N);
		} else {
			System.out.println(N);
		}
	}
}