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[] iArray = new int[n];
		int result = 0;
		for (int i = 0; i < n; i++) {
			int m = sc.nextInt();
			iArray[i] = m;
			x = x - m;
			result++;
		}
		if (x > 0) {
			Arrays.sort(iArray);
			int min = iArray[0];
			int cnt = x / min;
			result = result + cnt;
		}
		System.out.println(result);
	}
} 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[] iArray = new int[n];
		int result = 0;
		for (int i = 0; i < n; i++) {
			int m = sc.nextInt();
			iArray[i] = m;
			x = x - m;
			result++;
		}
		if (x > 0) {
			Arrays.sort(iArray);
			int min = iArray[0];
			int cnt = x / min;
			result = result + cnt;
		}
		System.out.println(result);
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int x = sc.nextInt();
		int[] iArray = new int[n];
		int result = 0;
		for (int i = 0; i < n; i++) {
			int m = sc.nextInt();
			iArray[i] = m;
			x = x - m;
			result++;
		}
		if (x > 0) {
			Arrays.sort(iArray);
			int min = iArray[0];
			int cnt = x / min;
			result = result + cnt;
		}
		System.out.println(result);
	} main {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int x = sc.nextInt();
		int[] iArray = new int[n];
		int result = 0;
		for (int i = 0; i < n; i++) {
			int m = sc.nextInt();
			iArray[i] = m;
			x = x - m;
			result++;
		}
		if (x > 0) {
			Arrays.sort(iArray);
			int min = iArray[0];
			int cnt = x / min;
			result = result + cnt;
		}
		System.out.println(result);
	} 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[] iArray = new int[n]; iArray new int[n] n int result = 0; result 0 for (int i = 0; i < n; i++) {
			int m = sc.nextInt();
			iArray[i] = m;
			x = x - m;
			result++;
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			int m = sc.nextInt();
			iArray[i] = m;
			x = x - m;
			result++;
		} {
			int m = sc.nextInt();
			iArray[i] = m;
			x = x - m;
			result++;
		} int m = sc.nextInt(); m sc.nextInt() sc.nextInt sc iArray[i] = m iArray[i] iArray i m x = x - m x x - m x m result++ result if (x > 0) {
			Arrays.sort(iArray);
			int min = iArray[0];
			int cnt = x / min;
			result = result + cnt;
		} x > 0 x 0 {
			Arrays.sort(iArray);
			int min = iArray[0];
			int cnt = x / min;
			result = result + cnt;
		} Arrays.sort(iArray) Arrays.sort Arrays iArray int min = iArray[0]; min iArray[0] iArray 0 int cnt = x / min; cnt x / min x min result = result + cnt result result + cnt result cnt System.out.println(result) System.out.println System.out System System.out result 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[] iArray = new int[n];
		int result = 0;
		for (int i = 0; i < n; i++) {
			int m = sc.nextInt();
			iArray[i] = m;
			x = x - m;
			result++;
		}
		if (x > 0) {
			Arrays.sort(iArray);
			int min = iArray[0];
			int cnt = x / min;
			result = result + cnt;
		}
		System.out.println(result);
	}
} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int x = sc.nextInt();
		int[] iArray = new int[n];
		int result = 0;
		for (int i = 0; i < n; i++) {
			int m = sc.nextInt();
			iArray[i] = m;
			x = x - m;
			result++;
		}
		if (x > 0) {
			Arrays.sort(iArray);
			int min = iArray[0];
			int cnt = x / min;
			result = result + cnt;
		}
		System.out.println(result);
	}
} 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[] iArray = new int[n];
		int result = 0;
		for (int i = 0; i < n; i++) {
			int m = sc.nextInt();
			iArray[i] = m;
			x = x - m;
			result++;
		}
		if (x > 0) {
			Arrays.sort(iArray);
			int min = iArray[0];
			int cnt = x / min;
			result = result + cnt;
		}
		System.out.println(result);
	}
}