import java.util.Scanner;

public class Main {
	void run() {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int x = scan.nextInt();
		int min = Integer.MAX_VALUE;
		for (int i = 0; i < n; i++) {
			int m = scan.nextInt();
			x -= m;
			min = Math.min(min, m);
		}
		System.out.println(n + (x / min));
	}
	public static void main(String[] args) {
		new Main().run();
	}
} import java.util.Scanner; Scanner java.util public class Main {
	void run() {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int x = scan.nextInt();
		int min = Integer.MAX_VALUE;
		for (int i = 0; i < n; i++) {
			int m = scan.nextInt();
			x -= m;
			min = Math.min(min, m);
		}
		System.out.println(n + (x / min));
	}
	public static void main(String[] args) {
		new Main().run();
	}
} Main void run() {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int x = scan.nextInt();
		int min = Integer.MAX_VALUE;
		for (int i = 0; i < n; i++) {
			int m = scan.nextInt();
			x -= m;
			min = Math.min(min, m);
		}
		System.out.println(n + (x / min));
	} run {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int x = scan.nextInt();
		int min = Integer.MAX_VALUE;
		for (int i = 0; i < n; i++) {
			int m = scan.nextInt();
			x -= m;
			min = Math.min(min, m);
		}
		System.out.println(n + (x / min));
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int n = scan.nextInt(); n scan.nextInt() scan.nextInt scan int x = scan.nextInt(); x scan.nextInt() scan.nextInt scan int min = Integer.MAX_VALUE; min Integer.MAX_VALUE Integer Integer.MAX_VALUE for (int i = 0; i < n; i++) {
			int m = scan.nextInt();
			x -= m;
			min = Math.min(min, m);
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			int m = scan.nextInt();
			x -= m;
			min = Math.min(min, m);
		} {
			int m = scan.nextInt();
			x -= m;
			min = Math.min(min, m);
		} int m = scan.nextInt(); m scan.nextInt() scan.nextInt scan x -= m x m min = Math.min(min, m) min Math.min(min, m) Math.min Math min m System.out.println(n + (x / min)) System.out.println System.out System System.out n + (x / min) n (x / min) x min public static void main(String[] args) {
		new Main().run();
	} main {
		new Main().run();
	} new Main().run() new Main().run new Main() String[] args args public class Main {
	void run() {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int x = scan.nextInt();
		int min = Integer.MAX_VALUE;
		for (int i = 0; i < n; i++) {
			int m = scan.nextInt();
			x -= m;
			min = Math.min(min, m);
		}
		System.out.println(n + (x / min));
	}
	public static void main(String[] args) {
		new Main().run();
	}
} public class Main {
	void run() {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int x = scan.nextInt();
		int min = Integer.MAX_VALUE;
		for (int i = 0; i < n; i++) {
			int m = scan.nextInt();
			x -= m;
			min = Math.min(min, m);
		}
		System.out.println(n + (x / min));
	}
	public static void main(String[] args) {
		new Main().run();
	}
} Main
import java.util.Scanner;

public class Main {
	void run() {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int x = scan.nextInt();
		int min = Integer.MAX_VALUE;
		for (int i = 0; i < n; i++) {
			int m = scan.nextInt();
			x -= m;
			min = Math.min(min, m);
		}
		System.out.println(n + (x / min));
	}
	public static void main(String[] args) {
		new Main().run();
	}
}
