import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int n = scanner.nextInt();
		int x = scanner.nextInt();
		int[] a = new int[n];
		int min = 1001;
		int sum = 0;

		for (int i = 0; i < n; i++) {
			a[i] = scanner.nextInt();
			if (a[i] < min) {
				min = a[i];
			}
			sum += a[i];
		}

		System.out.println((x-sum)/min + n);
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int n = scanner.nextInt();
		int x = scanner.nextInt();
		int[] a = new int[n];
		int min = 1001;
		int sum = 0;

		for (int i = 0; i < n; i++) {
			a[i] = scanner.nextInt();
			if (a[i] < min) {
				min = a[i];
			}
			sum += a[i];
		}

		System.out.println((x-sum)/min + n);
	}
} Main public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int n = scanner.nextInt();
		int x = scanner.nextInt();
		int[] a = new int[n];
		int min = 1001;
		int sum = 0;

		for (int i = 0; i < n; i++) {
			a[i] = scanner.nextInt();
			if (a[i] < min) {
				min = a[i];
			}
			sum += a[i];
		}

		System.out.println((x-sum)/min + n);
	} main {
		Scanner scanner = new Scanner(System.in);
		int n = scanner.nextInt();
		int x = scanner.nextInt();
		int[] a = new int[n];
		int min = 1001;
		int sum = 0;

		for (int i = 0; i < n; i++) {
			a[i] = scanner.nextInt();
			if (a[i] < min) {
				min = a[i];
			}
			sum += a[i];
		}

		System.out.println((x-sum)/min + n);
	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int n = scanner.nextInt(); n scanner.nextInt() scanner.nextInt scanner int x = scanner.nextInt(); x scanner.nextInt() scanner.nextInt scanner int[] a = new int[n]; a new int[n] n int min = 1001; min 1001 int sum = 0; sum 0 for (int i = 0; i < n; i++) {
			a[i] = scanner.nextInt();
			if (a[i] < min) {
				min = a[i];
			}
			sum += a[i];
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			a[i] = scanner.nextInt();
			if (a[i] < min) {
				min = a[i];
			}
			sum += a[i];
		} {
			a[i] = scanner.nextInt();
			if (a[i] < min) {
				min = a[i];
			}
			sum += a[i];
		} a[i] = scanner.nextInt() a[i] a i scanner.nextInt() scanner.nextInt scanner if (a[i] < min) {
				min = a[i];
			} a[i] < min a[i] a i min {
				min = a[i];
			} min = a[i] min a[i] a i sum += a[i] sum a[i] a i 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 scanner = new Scanner(System.in);
		int n = scanner.nextInt();
		int x = scanner.nextInt();
		int[] a = new int[n];
		int min = 1001;
		int sum = 0;

		for (int i = 0; i < n; i++) {
			a[i] = scanner.nextInt();
			if (a[i] < min) {
				min = a[i];
			}
			sum += a[i];
		}

		System.out.println((x-sum)/min + n);
	}
} public class Main {
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int n = scanner.nextInt();
		int x = scanner.nextInt();
		int[] a = new int[n];
		int min = 1001;
		int sum = 0;

		for (int i = 0; i < n; i++) {
			a[i] = scanner.nextInt();
			if (a[i] < min) {
				min = a[i];
			}
			sum += a[i];
		}

		System.out.println((x-sum)/min + n);
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int n = scanner.nextInt();
		int x = scanner.nextInt();
		int[] a = new int[n];
		int min = 1001;
		int sum = 0;

		for (int i = 0; i < n; i++) {
			a[i] = scanner.nextInt();
			if (a[i] < min) {
				min = a[i];
			}
			sum += a[i];
		}

		System.out.println((x-sum)/min + n);
	}
}
