import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt(), X = sc.nextInt();
		int m[] = new int[N];
		int sum = 0;
		int min = 1001;
		for (int i = 0; i < N; i++) {
			m[i] = sc.nextInt();
			sum += m[i];
			min = Math.min(min, m[i]);
		}
		sc.close();
		int a = X - sum;
		int ans = N;
		for (int i = 0; i <= a; i += min) {
			ans++;
		}
		System.out.println(ans-1);
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt(), X = sc.nextInt();
		int m[] = new int[N];
		int sum = 0;
		int min = 1001;
		for (int i = 0; i < N; i++) {
			m[i] = sc.nextInt();
			sum += m[i];
			min = Math.min(min, m[i]);
		}
		sc.close();
		int a = X - sum;
		int ans = N;
		for (int i = 0; i <= a; i += min) {
			ans++;
		}
		System.out.println(ans-1);
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt(), X = sc.nextInt();
		int m[] = new int[N];
		int sum = 0;
		int min = 1001;
		for (int i = 0; i < N; i++) {
			m[i] = sc.nextInt();
			sum += m[i];
			min = Math.min(min, m[i]);
		}
		sc.close();
		int a = X - sum;
		int ans = N;
		for (int i = 0; i <= a; i += min) {
			ans++;
		}
		System.out.println(ans-1);
	} main {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt(), X = sc.nextInt();
		int m[] = new int[N];
		int sum = 0;
		int min = 1001;
		for (int i = 0; i < N; i++) {
			m[i] = sc.nextInt();
			sum += m[i];
			min = Math.min(min, m[i]);
		}
		sc.close();
		int a = X - sum;
		int ans = N;
		for (int i = 0; i <= a; i += min) {
			ans++;
		}
		System.out.println(ans-1);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int N = sc.nextInt() N sc.nextInt() sc.nextInt sc X = sc.nextInt(); X sc.nextInt() sc.nextInt sc int m[] = new int[N]; m new int[N] N int sum = 0; sum 0 int min = 1001; min 1001 for (int i = 0; i < N; i++) {
			m[i] = sc.nextInt();
			sum += m[i];
			min = Math.min(min, m[i]);
		} int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
			m[i] = sc.nextInt();
			sum += m[i];
			min = Math.min(min, m[i]);
		} {
			m[i] = sc.nextInt();
			sum += m[i];
			min = Math.min(min, m[i]);
		} m[i] = sc.nextInt() m[i] m i sc.nextInt() sc.nextInt sc sum += m[i] sum m[i] m i min = Math.min(min, m[i]) min Math.min(min, m[i]) Math.min Math min m[i] m i sc.close() sc.close sc int a = X - sum; a X - sum X sum int ans = N; ans N for (int i = 0; i <= a; i += min) {
			ans++;
		} int i = 0; int i = 0; i 0 i <= a i a i += min i += min i min {
			ans++;
		} {
			ans++;
		} ans++ ans System.out.println(ans-1) System.out.println System.out System System.out ans-1 ans 1 String[] args args public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt(), X = sc.nextInt();
		int m[] = new int[N];
		int sum = 0;
		int min = 1001;
		for (int i = 0; i < N; i++) {
			m[i] = sc.nextInt();
			sum += m[i];
			min = Math.min(min, m[i]);
		}
		sc.close();
		int a = X - sum;
		int ans = N;
		for (int i = 0; i <= a; i += min) {
			ans++;
		}
		System.out.println(ans-1);
	}
} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt(), X = sc.nextInt();
		int m[] = new int[N];
		int sum = 0;
		int min = 1001;
		for (int i = 0; i < N; i++) {
			m[i] = sc.nextInt();
			sum += m[i];
			min = Math.min(min, m[i]);
		}
		sc.close();
		int a = X - sum;
		int ans = N;
		for (int i = 0; i <= a; i += min) {
			ans++;
		}
		System.out.println(ans-1);
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt(), X = sc.nextInt();
		int m[] = new int[N];
		int sum = 0;
		int min = 1001;
		for (int i = 0; i < N; i++) {
			m[i] = sc.nextInt();
			sum += m[i];
			min = Math.min(min, m[i]);
		}
		sc.close();
		int a = X - sum;
		int ans = N;
		for (int i = 0; i <= a; i += min) {
			ans++;
		}
		System.out.println(ans-1);
	}
}
