import 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 min = 1001;
		int sum = 0;
		int c = 0;
		for (int i = 0; i < n; i++) {
			m[i] = sc.nextInt();
			if (min > m[i]) {
				min = m[i];
			}
			sum += m[i];
		}
		int sa = x - sum;
		c = n;
		int kosu = sa / min;
		c += kosu;
		System.out.println(c);
	}

} import java.util.*; util.* java 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 min = 1001;
		int sum = 0;
		int c = 0;
		for (int i = 0; i < n; i++) {
			m[i] = sc.nextInt();
			if (min > m[i]) {
				min = m[i];
			}
			sum += m[i];
		}
		int sa = x - sum;
		c = n;
		int kosu = sa / min;
		c += kosu;
		System.out.println(c);
	}

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

} 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 min = 1001;
		int sum = 0;
		int c = 0;
		for (int i = 0; i < n; i++) {
			m[i] = sc.nextInt();
			if (min > m[i]) {
				min = m[i];
			}
			sum += m[i];
		}
		int sa = x - sum;
		c = n;
		int kosu = sa / min;
		c += kosu;
		System.out.println(c);
	}

} Main
import 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 min = 1001;
		int sum = 0;
		int c = 0;
		for (int i = 0; i < n; i++) {
			m[i] = sc.nextInt();
			if (min > m[i]) {
				min = m[i];
			}
			sum += m[i];
		}
		int sa = x - sum;
		c = n;
		int kosu = sa / min;
		c += kosu;
		System.out.println(c);
	}

}
