import java.util.*;

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 min_m = 1001;
		for(int i = 0; i < N; i++){
			int m = sc.nextInt();
			if(m < min_m) min_m = m;
			X -= m;
		}
		System.out.println(N + X / min_m);
	}
} import java.util.*; util.* java 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 min_m = 1001;
		for(int i = 0; i < N; i++){
			int m = sc.nextInt();
			if(m < min_m) min_m = m;
			X -= m;
		}
		System.out.println(N + X / min_m);
	}
} Main public static void main(String args[]) throws Exception{
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int X = sc.nextInt();
		int min_m = 1001;
		for(int i = 0; i < N; i++){
			int m = sc.nextInt();
			if(m < min_m) min_m = m;
			X -= m;
		}
		System.out.println(N + X / min_m);
	} main {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int X = sc.nextInt();
		int min_m = 1001;
		for(int i = 0; i < N; i++){
			int m = sc.nextInt();
			if(m < min_m) min_m = m;
			X -= m;
		}
		System.out.println(N + X / min_m);
	} 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 min_m = 1001; min_m 1001 for(int i = 0; i < N; i++){
			int m = sc.nextInt();
			if(m < min_m) min_m = m;
			X -= m;
		} int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
			int m = sc.nextInt();
			if(m < min_m) min_m = m;
			X -= m;
		} {
			int m = sc.nextInt();
			if(m < min_m) min_m = m;
			X -= m;
		} int m = sc.nextInt(); m sc.nextInt() sc.nextInt sc if(m < min_m) min_m = m; m < min_m m min_m min_m = m min_m m X -= m X m System.out.println(N + X / min_m) System.out.println System.out System System.out N + X / min_m N X / min_m X min_m String args[] args
import java.util.*;

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 min_m = 1001;
		for(int i = 0; i < N; i++){
			int m = sc.nextInt();
			if(m < min_m) min_m = m;
			X -= m;
		}
		System.out.println(N + X / min_m);
	}
}