import java.util.Arrays;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		int n = sc.nextInt();
		int x = sc.nextInt();
		int m[] = new int[n];
		int summ = 0;
		
		for(int i = 0; i < n; ++i) {
			m[i] = sc.nextInt();
			summ += m[i];
		}
		Arrays.sort(m);
		sc.close();
		int ans = (x - summ) / m[0] + n;
		System.out.println(ans);
	}
} import java.util.Arrays; Arrays java.util 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();
		int x = sc.nextInt();
		int m[] = new int[n];
		int summ = 0;
		
		for(int i = 0; i < n; ++i) {
			m[i] = sc.nextInt();
			summ += m[i];
		}
		Arrays.sort(m);
		sc.close();
		int ans = (x - summ) / m[0] + n;
		System.out.println(ans);
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		int n = sc.nextInt();
		int x = sc.nextInt();
		int m[] = new int[n];
		int summ = 0;
		
		for(int i = 0; i < n; ++i) {
			m[i] = sc.nextInt();
			summ += m[i];
		}
		Arrays.sort(m);
		sc.close();
		int ans = (x - summ) / m[0] + n;
		System.out.println(ans);
	} main {
		Scanner sc = new Scanner(System.in);

		int n = sc.nextInt();
		int x = sc.nextInt();
		int m[] = new int[n];
		int summ = 0;
		
		for(int i = 0; i < n; ++i) {
			m[i] = sc.nextInt();
			summ += m[i];
		}
		Arrays.sort(m);
		sc.close();
		int ans = (x - summ) / m[0] + n;
		System.out.println(ans);
	} 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 m[] = new int[n]; m new int[n] n int summ = 0; summ 0 for(int i = 0; i < n; ++i) {
			m[i] = sc.nextInt();
			summ += m[i];
		} int i = 0; int i = 0; i 0 i < n i n ++i ++i i {
			m[i] = sc.nextInt();
			summ += m[i];
		} {
			m[i] = sc.nextInt();
			summ += m[i];
		} m[i] = sc.nextInt() m[i] m i sc.nextInt() sc.nextInt sc summ += m[i] summ m[i] m i Arrays.sort(m) Arrays.sort Arrays m sc.close() sc.close sc int ans = (x - summ) / m[0] + n; ans (x - summ) / m[0] + n (x - summ) / m[0] (x - summ) x summ m[0] m 0 n System.out.println(ans) System.out.println System.out System System.out ans 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 m[] = new int[n];
		int summ = 0;
		
		for(int i = 0; i < n; ++i) {
			m[i] = sc.nextInt();
			summ += m[i];
		}
		Arrays.sort(m);
		sc.close();
		int ans = (x - summ) / m[0] + n;
		System.out.println(ans);
	}
} public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		int n = sc.nextInt();
		int x = sc.nextInt();
		int m[] = new int[n];
		int summ = 0;
		
		for(int i = 0; i < n; ++i) {
			m[i] = sc.nextInt();
			summ += m[i];
		}
		Arrays.sort(m);
		sc.close();
		int ans = (x - summ) / m[0] + n;
		System.out.println(ans);
	}
} Main
import java.util.Arrays;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		int n = sc.nextInt();
		int x = sc.nextInt();
		int m[] = new int[n];
		int summ = 0;
		
		for(int i = 0; i < n; ++i) {
			m[i] = sc.nextInt();
			summ += m[i];
		}
		Arrays.sort(m);
		sc.close();
		int ans = (x - summ) / m[0] + n;
		System.out.println(ans);
	}
}
