import java.util.*;
import static java.lang.Integer.*;
//import static java.lang.Long.*;
//import static java.lang.Math.*;
import static java.lang.Math.*;
import static java.lang.System.*;

public class Main {
	public static void main(String[] args) {
		int i,j;
		Scanner sc = new Scanner(in);
		int n = parseInt(sc.next());
		int x = parseInt(sc.next());
		int[] m = new int[n];
		int sum = 0;
		int mn = x;
		for (i = 0; i < n; i++) {
			m[i] = parseInt(sc.next());
			sum += m[i]; 
			if(m[i] < mn)mn = m[i]; 
		}
		sc.close();
		out.println(n+(x-sum)/mn);
	}
} import java.util.*; util.* java import static java.lang.Integer.*; import static java.lang.Integer.*; import static java.lang.Integer.*; import static java.lang.Math.*; import static java.lang.Math.*; import static java.lang.Math.*; import static java.lang.System.*; import static java.lang.System.*; import static java.lang.System.*; public class Main {
	public static void main(String[] args) {
		int i,j;
		Scanner sc = new Scanner(in);
		int n = parseInt(sc.next());
		int x = parseInt(sc.next());
		int[] m = new int[n];
		int sum = 0;
		int mn = x;
		for (i = 0; i < n; i++) {
			m[i] = parseInt(sc.next());
			sum += m[i]; 
			if(m[i] < mn)mn = m[i]; 
		}
		sc.close();
		out.println(n+(x-sum)/mn);
	}
} Main public static void main(String[] args) {
		int i,j;
		Scanner sc = new Scanner(in);
		int n = parseInt(sc.next());
		int x = parseInt(sc.next());
		int[] m = new int[n];
		int sum = 0;
		int mn = x;
		for (i = 0; i < n; i++) {
			m[i] = parseInt(sc.next());
			sum += m[i]; 
			if(m[i] < mn)mn = m[i]; 
		}
		sc.close();
		out.println(n+(x-sum)/mn);
	} main {
		int i,j;
		Scanner sc = new Scanner(in);
		int n = parseInt(sc.next());
		int x = parseInt(sc.next());
		int[] m = new int[n];
		int sum = 0;
		int mn = x;
		for (i = 0; i < n; i++) {
			m[i] = parseInt(sc.next());
			sum += m[i]; 
			if(m[i] < mn)mn = m[i]; 
		}
		sc.close();
		out.println(n+(x-sum)/mn);
	} int i i j; j Scanner sc = new Scanner(in); sc new Scanner(in) int n = parseInt(sc.next()); n parseInt(sc.next()) parseInt sc.next() sc.next sc int x = parseInt(sc.next()); x parseInt(sc.next()) parseInt sc.next() sc.next sc int[] m = new int[n]; m new int[n] n int sum = 0; sum 0 int mn = x; mn x for (i = 0; i < n; i++) {
			m[i] = parseInt(sc.next());
			sum += m[i]; 
			if(m[i] < mn)mn = m[i]; 
		} i = 0; i = 0 i 0 i < n i n i++ i++ i {
			m[i] = parseInt(sc.next());
			sum += m[i]; 
			if(m[i] < mn)mn = m[i]; 
		} {
			m[i] = parseInt(sc.next());
			sum += m[i]; 
			if(m[i] < mn)mn = m[i]; 
		} m[i] = parseInt(sc.next()) m[i] m i parseInt(sc.next()) parseInt sc.next() sc.next sc sum += m[i] sum m[i] m i if(m[i] < mn)mn = m[i]; m[i] < mn m[i] m i mn mn = m[i] mn m[i] m i sc.close() sc.close sc out.println(n+(x-sum)/mn) out.println out n+(x-sum)/mn n (x-sum)/mn (x-sum) x sum mn String[] args args public class Main {
	public static void main(String[] args) {
		int i,j;
		Scanner sc = new Scanner(in);
		int n = parseInt(sc.next());
		int x = parseInt(sc.next());
		int[] m = new int[n];
		int sum = 0;
		int mn = x;
		for (i = 0; i < n; i++) {
			m[i] = parseInt(sc.next());
			sum += m[i]; 
			if(m[i] < mn)mn = m[i]; 
		}
		sc.close();
		out.println(n+(x-sum)/mn);
	}
} public class Main {
	public static void main(String[] args) {
		int i,j;
		Scanner sc = new Scanner(in);
		int n = parseInt(sc.next());
		int x = parseInt(sc.next());
		int[] m = new int[n];
		int sum = 0;
		int mn = x;
		for (i = 0; i < n; i++) {
			m[i] = parseInt(sc.next());
			sum += m[i]; 
			if(m[i] < mn)mn = m[i]; 
		}
		sc.close();
		out.println(n+(x-sum)/mn);
	}
} Main
import java.util.*;
import static java.lang.Integer.*;
//import static java.lang.Long.*;
//import static java.lang.Math.*;
import static java.lang.Math.*;
import static java.lang.System.*;

public class Main {
	public static void main(String[] args) {
		int i,j;
		Scanner sc = new Scanner(in);
		int n = parseInt(sc.next());
		int x = parseInt(sc.next());
		int[] m = new int[n];
		int sum = 0;
		int mn = x;
		for (i = 0; i < n; i++) {
			m[i] = parseInt(sc.next());
			sum += m[i]; 
			if(m[i] < mn)mn = m[i]; 
		}
		sc.close();
		out.println(n+(x-sum)/mn);
	}
}
