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 g[] = new int[N];
		int kei =0;
		
		for(int i=0;i<N;i++) {
			g[i] = sc.nextInt();
			kei += g[i];
		}
		
		Arrays.sort(g);
		System.out.println(N+(X-kei)/g[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 g[] = new int[N];
		int kei =0;
		
		for(int i=0;i<N;i++) {
			g[i] = sc.nextInt();
			kei += g[i];
		}
		
		Arrays.sort(g);
		System.out.println(N+(X-kei)/g[0]);

	}
} Main public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);

		int N = sc.nextInt();
		int X = sc.nextInt();
		
		int g[] = new int[N];
		int kei =0;
		
		for(int i=0;i<N;i++) {
			g[i] = sc.nextInt();
			kei += g[i];
		}
		
		Arrays.sort(g);
		System.out.println(N+(X-kei)/g[0]);

	} main {

		Scanner sc = new Scanner(System.in);

		int N = sc.nextInt();
		int X = sc.nextInt();
		
		int g[] = new int[N];
		int kei =0;
		
		for(int i=0;i<N;i++) {
			g[i] = sc.nextInt();
			kei += g[i];
		}
		
		Arrays.sort(g);
		System.out.println(N+(X-kei)/g[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 g[] = new int[N]; g new int[N] N int kei =0; kei 0 for(int i=0;i<N;i++) {
			g[i] = sc.nextInt();
			kei += g[i];
		} int i=0; int i=0; i 0 i<N i N i++ i++ i {
			g[i] = sc.nextInt();
			kei += g[i];
		} {
			g[i] = sc.nextInt();
			kei += g[i];
		} g[i] = sc.nextInt() g[i] g i sc.nextInt() sc.nextInt sc kei += g[i] kei g[i] g i Arrays.sort(g) Arrays.sort Arrays g System.out.println(N+(X-kei)/g[0]) System.out.println System.out System System.out N+(X-kei)/g[0] N (X-kei)/g[0] (X-kei) X kei g[0] g 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 g[] = new int[N];
		int kei =0;
		
		for(int i=0;i<N;i++) {
			g[i] = sc.nextInt();
			kei += g[i];
		}
		
		Arrays.sort(g);
		System.out.println(N+(X-kei)/g[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 g[] = new int[N];
		int kei =0;
		
		for(int i=0;i<N;i++) {
			g[i] = sc.nextInt();
			kei += g[i];
		}
		
		Arrays.sort(g);
		System.out.println(N+(X-kei)/g[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 g[] = new int[N];
		int kei =0;
		
		for(int i=0;i<N;i++) {
			g[i] = sc.nextInt();
			kei += g[i];
		}
		
		Arrays.sort(g);
		System.out.println(N+(X-kei)/g[0]);

	}
}