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];
		for(int i = 0 ; i < n ; i++) m[i] = sc.nextInt();
		int sum = 0;
		for(int i = 0 ; i < n ; i++) {
			sum += m[i];
		}
		Arrays.sort(m);
		int temp = x - sum;
		System.out.println(n + temp / m[0]);
	}
} 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];
		for(int i = 0 ; i < n ; i++) m[i] = sc.nextInt();
		int sum = 0;
		for(int i = 0 ; i < n ; i++) {
			sum += m[i];
		}
		Arrays.sort(m);
		int temp = x - sum;
		System.out.println(n + temp / m[0]);
	}
} 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];
		for(int i = 0 ; i < n ; i++) m[i] = sc.nextInt();
		int sum = 0;
		for(int i = 0 ; i < n ; i++) {
			sum += m[i];
		}
		Arrays.sort(m);
		int temp = x - sum;
		System.out.println(n + temp / m[0]);
	} 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 < n ; i++) m[i] = sc.nextInt();
		int sum = 0;
		for(int i = 0 ; i < n ; i++) {
			sum += m[i];
		}
		Arrays.sort(m);
		int temp = x - sum;
		System.out.println(n + temp / m[0]);
	} 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 < n ; i++) m[i] = sc.nextInt(); int i = 0 ; int i = 0 ; i 0 i < n i n i++ i++ i m[i] = sc.nextInt(); m[i] = sc.nextInt() m[i] m i sc.nextInt() sc.nextInt sc int sum = 0; sum 0 for(int i = 0 ; i < n ; i++) {
			sum += m[i];
		} int i = 0 ; int i = 0 ; i 0 i < n i n i++ i++ i {
			sum += m[i];
		} {
			sum += m[i];
		} sum += m[i] sum m[i] m i Arrays.sort(m) Arrays.sort Arrays m int temp = x - sum; temp x - sum x sum System.out.println(n + temp / m[0]) System.out.println System.out System System.out n + temp / m[0] n temp / m[0] temp m[0] m 0 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];
		for(int i = 0 ; i < n ; i++) m[i] = sc.nextInt();
		int sum = 0;
		for(int i = 0 ; i < n ; i++) {
			sum += m[i];
		}
		Arrays.sort(m);
		int temp = x - sum;
		System.out.println(n + temp / m[0]);
	}
} 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];
		for(int i = 0 ; i < n ; i++) m[i] = sc.nextInt();
		int sum = 0;
		for(int i = 0 ; i < n ; i++) {
			sum += m[i];
		}
		Arrays.sort(m);
		int temp = x - sum;
		System.out.println(n + temp / m[0]);
	}
} 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];
		for(int i = 0 ; i < n ; i++) m[i] = sc.nextInt();
		int sum = 0;
		for(int i = 0 ; i < n ; i++) {
			sum += m[i];
		}
		Arrays.sort(m);
		int temp = x - sum;
		System.out.println(n + temp / m[0]);
	}
}
