import 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();
		int sum = 0;
		int min = 1000;
		while (sc.hasNext()) {
			int min2 = sc.nextInt();
			sum = sum + min2;
			if (min2 < min) min = min2;
		}
		System.out.println((x - sum) / min + n);
	}
} import java.util.*; util.* java public class Main {
	public static void main(String... args) {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int x = sc.nextInt();
		int sum = 0;
		int min = 1000;
		while (sc.hasNext()) {
			int min2 = sc.nextInt();
			sum = sum + min2;
			if (min2 < min) min = min2;
		}
		System.out.println((x - sum) / min + n);
	}
} Main public static void main(String... args) {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int x = sc.nextInt();
		int sum = 0;
		int min = 1000;
		while (sc.hasNext()) {
			int min2 = sc.nextInt();
			sum = sum + min2;
			if (min2 < min) min = min2;
		}
		System.out.println((x - sum) / min + n);
	} main {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int x = sc.nextInt();
		int sum = 0;
		int min = 1000;
		while (sc.hasNext()) {
			int min2 = sc.nextInt();
			sum = sum + min2;
			if (min2 < min) min = min2;
		}
		System.out.println((x - sum) / min + n);
	} 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 sum = 0; sum 0 int min = 1000; min 1000 while (sc.hasNext()) {
			int min2 = sc.nextInt();
			sum = sum + min2;
			if (min2 < min) min = min2;
		} sc.hasNext() sc.hasNext sc {
			int min2 = sc.nextInt();
			sum = sum + min2;
			if (min2 < min) min = min2;
		} int min2 = sc.nextInt(); min2 sc.nextInt() sc.nextInt sc sum = sum + min2 sum sum + min2 sum min2 if (min2 < min) min = min2; min2 < min min2 min min = min2 min min2 System.out.println((x - sum) / min + n) System.out.println System.out System System.out (x - sum) / min + n (x - sum) / min (x - sum) x sum min n 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();
		int sum = 0;
		int min = 1000;
		while (sc.hasNext()) {
			int min2 = sc.nextInt();
			sum = sum + min2;
			if (min2 < min) min = min2;
		}
		System.out.println((x - sum) / min + n);
	}
} public class Main {
	public static void main(String... args) {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int x = sc.nextInt();
		int sum = 0;
		int min = 1000;
		while (sc.hasNext()) {
			int min2 = sc.nextInt();
			sum = sum + min2;
			if (min2 < min) min = min2;
		}
		System.out.println((x - sum) / min + n);
	}
} Main
import 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();
		int sum = 0;
		int min = 1000;
		while (sc.hasNext()) {
			int min2 = sc.nextInt();
			sum = sum + min2;
			if (min2 < min) min = min2;
		}
		System.out.println((x - sum) / min + n);
	}
}
