import java.util.Scanner;

public class Main {
	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int x = sc.nextInt();
		int[] m = new int[n];
		for (int i = 0; i < m.length; i++) {
			m[i] = sc.nextInt();
		}
		sc.close();

		int min = 1000;
		for (int i = 0; i < m.length; i++) {
			x -= m[i];
			min = Math.min(min, m[i]);
		}
		int ans = n + x / min;
		System.out.println(ans);
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int x = sc.nextInt();
		int[] m = new int[n];
		for (int i = 0; i < m.length; i++) {
			m[i] = sc.nextInt();
		}
		sc.close();

		int min = 1000;
		for (int i = 0; i < m.length; i++) {
			x -= m[i];
			min = Math.min(min, m[i]);
		}
		int ans = n + x / min;
		System.out.println(ans);
	}
} Main public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int x = sc.nextInt();
		int[] m = new int[n];
		for (int i = 0; i < m.length; i++) {
			m[i] = sc.nextInt();
		}
		sc.close();

		int min = 1000;
		for (int i = 0; i < m.length; i++) {
			x -= m[i];
			min = Math.min(min, m[i]);
		}
		int ans = n + x / min;
		System.out.println(ans);
	} main {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int x = sc.nextInt();
		int[] m = new int[n];
		for (int i = 0; i < m.length; i++) {
			m[i] = sc.nextInt();
		}
		sc.close();

		int min = 1000;
		for (int i = 0; i < m.length; i++) {
			x -= m[i];
			min = Math.min(min, m[i]);
		}
		int ans = n + x / min;
		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 for (int i = 0; i < m.length; i++) {
			m[i] = sc.nextInt();
		} int i = 0; int i = 0; i 0 i < m.length i m.length m m.length i++ i++ i {
			m[i] = sc.nextInt();
		} {
			m[i] = sc.nextInt();
		} m[i] = sc.nextInt() m[i] m i sc.nextInt() sc.nextInt sc sc.close() sc.close sc int min = 1000; min 1000 for (int i = 0; i < m.length; i++) {
			x -= m[i];
			min = Math.min(min, m[i]);
		} int i = 0; int i = 0; i 0 i < m.length i m.length m m.length i++ i++ i {
			x -= m[i];
			min = Math.min(min, m[i]);
		} {
			x -= m[i];
			min = Math.min(min, m[i]);
		} x -= m[i] x m[i] m i min = Math.min(min, m[i]) min Math.min(min, m[i]) Math.min Math min m[i] m i int ans = n + x / min; ans n + x / min n x / min x min 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) throws Exception {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int x = sc.nextInt();
		int[] m = new int[n];
		for (int i = 0; i < m.length; i++) {
			m[i] = sc.nextInt();
		}
		sc.close();

		int min = 1000;
		for (int i = 0; i < m.length; i++) {
			x -= m[i];
			min = Math.min(min, m[i]);
		}
		int ans = n + x / min;
		System.out.println(ans);
	}
} public class Main {
	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int x = sc.nextInt();
		int[] m = new int[n];
		for (int i = 0; i < m.length; i++) {
			m[i] = sc.nextInt();
		}
		sc.close();

		int min = 1000;
		for (int i = 0; i < m.length; i++) {
			x -= m[i];
			min = Math.min(min, m[i]);
		}
		int ans = n + x / min;
		System.out.println(ans);
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int x = sc.nextInt();
		int[] m = new int[n];
		for (int i = 0; i < m.length; i++) {
			m[i] = sc.nextInt();
		}
		sc.close();

		int min = 1000;
		for (int i = 0; i < m.length; i++) {
			x -= m[i];
			min = Math.min(min, m[i]);
		}
		int ans = n + x / min;
		System.out.println(ans);
	}
}
