import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int x = scan.nextInt();
		int[] a = new int[n];
		int sum = 0;
		for (int i = 0; i < n; i++) {
			a[i] = scan.nextInt();
			sum += a[i];
			if (a[i] < a[0]) {
				a[0] = a[i];
			}
		}
		int b = x - sum;
		System.out.println(b / a[0] + n);
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int x = scan.nextInt();
		int[] a = new int[n];
		int sum = 0;
		for (int i = 0; i < n; i++) {
			a[i] = scan.nextInt();
			sum += a[i];
			if (a[i] < a[0]) {
				a[0] = a[i];
			}
		}
		int b = x - sum;
		System.out.println(b / a[0] + n);
	}
} Main public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int x = scan.nextInt();
		int[] a = new int[n];
		int sum = 0;
		for (int i = 0; i < n; i++) {
			a[i] = scan.nextInt();
			sum += a[i];
			if (a[i] < a[0]) {
				a[0] = a[i];
			}
		}
		int b = x - sum;
		System.out.println(b / a[0] + n);
	} main {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int x = scan.nextInt();
		int[] a = new int[n];
		int sum = 0;
		for (int i = 0; i < n; i++) {
			a[i] = scan.nextInt();
			sum += a[i];
			if (a[i] < a[0]) {
				a[0] = a[i];
			}
		}
		int b = x - sum;
		System.out.println(b / a[0] + n);
	} 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[] a = new int[n]; a new int[n] n int sum = 0; sum 0 for (int i = 0; i < n; i++) {
			a[i] = scan.nextInt();
			sum += a[i];
			if (a[i] < a[0]) {
				a[0] = a[i];
			}
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			a[i] = scan.nextInt();
			sum += a[i];
			if (a[i] < a[0]) {
				a[0] = a[i];
			}
		} {
			a[i] = scan.nextInt();
			sum += a[i];
			if (a[i] < a[0]) {
				a[0] = a[i];
			}
		} a[i] = scan.nextInt() a[i] a i scan.nextInt() scan.nextInt scan sum += a[i] sum a[i] a i if (a[i] < a[0]) {
				a[0] = a[i];
			} a[i] < a[0] a[i] a i a[0] a 0 {
				a[0] = a[i];
			} a[0] = a[i] a[0] a 0 a[i] a i int b = x - sum; b x - sum x sum System.out.println(b / a[0] + n) System.out.println System.out System System.out b / a[0] + n b / a[0] b a[0] a 0 n String[] args args public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int x = scan.nextInt();
		int[] a = new int[n];
		int sum = 0;
		for (int i = 0; i < n; i++) {
			a[i] = scan.nextInt();
			sum += a[i];
			if (a[i] < a[0]) {
				a[0] = a[i];
			}
		}
		int b = x - sum;
		System.out.println(b / a[0] + n);
	}
} public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int x = scan.nextInt();
		int[] a = new int[n];
		int sum = 0;
		for (int i = 0; i < n; i++) {
			a[i] = scan.nextInt();
			sum += a[i];
			if (a[i] < a[0]) {
				a[0] = a[i];
			}
		}
		int b = x - sum;
		System.out.println(b / a[0] + n);
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int x = scan.nextInt();
		int[] a = new int[n];
		int sum = 0;
		for (int i = 0; i < n; i++) {
			a[i] = scan.nextInt();
			sum += a[i];
			if (a[i] < a[0]) {
				a[0] = a[i];
			}
		}
		int b = x - sum;
		System.out.println(b / a[0] + n);
	}
}
