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

public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int x = scan.nextInt();
		int[] m = new int[n];
		int i = 0;
		for(i = 0; i < n; i++) {
			m[i] = scan.nextInt();
			x = x - m[i];
		}
		Arrays.sort(m);
		x = x / m[0];
		System.out.println(x + n);
	}
} import java.util.Arrays; Arrays java.util import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int x = scan.nextInt();
		int[] m = new int[n];
		int i = 0;
		for(i = 0; i < n; i++) {
			m[i] = scan.nextInt();
			x = x - m[i];
		}
		Arrays.sort(m);
		x = x / m[0];
		System.out.println(x + n);
	}
} Main public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int x = scan.nextInt();
		int[] m = new int[n];
		int i = 0;
		for(i = 0; i < n; i++) {
			m[i] = scan.nextInt();
			x = x - m[i];
		}
		Arrays.sort(m);
		x = x / m[0];
		System.out.println(x + n);
	} main {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int x = scan.nextInt();
		int[] m = new int[n];
		int i = 0;
		for(i = 0; i < n; i++) {
			m[i] = scan.nextInt();
			x = x - m[i];
		}
		Arrays.sort(m);
		x = x / m[0];
		System.out.println(x + n);
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int n = scan.nextInt(); n scan.nextInt() scan.nextInt scan int x = scan.nextInt(); x scan.nextInt() scan.nextInt scan int[] m = new int[n]; m new int[n] n int i = 0; i 0 for(i = 0; i < n; i++) {
			m[i] = scan.nextInt();
			x = x - m[i];
		} i = 0; i = 0 i 0 i < n i n i++ i++ i {
			m[i] = scan.nextInt();
			x = x - m[i];
		} {
			m[i] = scan.nextInt();
			x = x - m[i];
		} m[i] = scan.nextInt() m[i] m i scan.nextInt() scan.nextInt scan x = x - m[i] x x - m[i] x m[i] m i Arrays.sort(m) Arrays.sort Arrays m x = x / m[0] x x / m[0] x m[0] m 0 System.out.println(x + n) System.out.println System.out System System.out x + n x n String[] args args public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int x = scan.nextInt();
		int[] m = new int[n];
		int i = 0;
		for(i = 0; i < n; i++) {
			m[i] = scan.nextInt();
			x = x - m[i];
		}
		Arrays.sort(m);
		x = x / m[0];
		System.out.println(x + n);
	}
} public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int x = scan.nextInt();
		int[] m = new int[n];
		int i = 0;
		for(i = 0; i < n; i++) {
			m[i] = scan.nextInt();
			x = x - m[i];
		}
		Arrays.sort(m);
		x = x / m[0];
		System.out.println(x + n);
	}
} Main
import java.util.Arrays;
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int x = scan.nextInt();
		int[] m = new int[n];
		int i = 0;
		for(i = 0; i < n; i++) {
			m[i] = scan.nextInt();
			x = x - m[i];
		}
		Arrays.sort(m);
		x = x / m[0];
		System.out.println(x + n);
	}
}