import java.util.*;
public class Main {

		static void solve() {
			Scanner sc = new Scanner(System.in);
			int n = sc.nextInt();
			int x = sc.nextInt();
			int sum = 0;
			int[] array = new int[n];
			for(int i = 0; i<n; i++) {
				array[i] = sc.nextInt();
				sum+=array[i];
			}
			sc.close();
			int min = Integer.MAX_VALUE;
			for(int i = 0;i<n;i++) {
				if(array[i]<min) {
					min = array[i];
				}
			}
			int res = (x-sum)/min;
			System.out.println(res+n);
		}
	public static void main(String[] args) {
		solve();

	}

} import java.util.*; util.* java public class Main {

		static void solve() {
			Scanner sc = new Scanner(System.in);
			int n = sc.nextInt();
			int x = sc.nextInt();
			int sum = 0;
			int[] array = new int[n];
			for(int i = 0; i<n; i++) {
				array[i] = sc.nextInt();
				sum+=array[i];
			}
			sc.close();
			int min = Integer.MAX_VALUE;
			for(int i = 0;i<n;i++) {
				if(array[i]<min) {
					min = array[i];
				}
			}
			int res = (x-sum)/min;
			System.out.println(res+n);
		}
	public static void main(String[] args) {
		solve();

	}

} Main static void solve() {
			Scanner sc = new Scanner(System.in);
			int n = sc.nextInt();
			int x = sc.nextInt();
			int sum = 0;
			int[] array = new int[n];
			for(int i = 0; i<n; i++) {
				array[i] = sc.nextInt();
				sum+=array[i];
			}
			sc.close();
			int min = Integer.MAX_VALUE;
			for(int i = 0;i<n;i++) {
				if(array[i]<min) {
					min = array[i];
				}
			}
			int res = (x-sum)/min;
			System.out.println(res+n);
		} solve {
			Scanner sc = new Scanner(System.in);
			int n = sc.nextInt();
			int x = sc.nextInt();
			int sum = 0;
			int[] array = new int[n];
			for(int i = 0; i<n; i++) {
				array[i] = sc.nextInt();
				sum+=array[i];
			}
			sc.close();
			int min = Integer.MAX_VALUE;
			for(int i = 0;i<n;i++) {
				if(array[i]<min) {
					min = array[i];
				}
			}
			int res = (x-sum)/min;
			System.out.println(res+n);
		} 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 sum = 0; sum 0 int[] array = new int[n]; array new int[n] n for(int i = 0; i<n; i++) {
				array[i] = sc.nextInt();
				sum+=array[i];
			} int i = 0; int i = 0; i 0 i<n i n i++ i++ i {
				array[i] = sc.nextInt();
				sum+=array[i];
			} {
				array[i] = sc.nextInt();
				sum+=array[i];
			} array[i] = sc.nextInt() array[i] array i sc.nextInt() sc.nextInt sc sum+=array[i] sum array[i] array i sc.close() sc.close sc int min = Integer.MAX_VALUE; min Integer.MAX_VALUE Integer Integer.MAX_VALUE for(int i = 0;i<n;i++) {
				if(array[i]<min) {
					min = array[i];
				}
			} int i = 0; int i = 0; i 0 i<n i n i++ i++ i {
				if(array[i]<min) {
					min = array[i];
				}
			} {
				if(array[i]<min) {
					min = array[i];
				}
			} if(array[i]<min) {
					min = array[i];
				} array[i]<min array[i] array i min {
					min = array[i];
				} min = array[i] min array[i] array i int res = (x-sum)/min; res (x-sum)/min (x-sum) x sum min System.out.println(res+n) System.out.println System.out System System.out res+n res n public static void main(String[] args) {
		solve();

	} main {
		solve();

	} solve() solve String[] args args public class Main {

		static void solve() {
			Scanner sc = new Scanner(System.in);
			int n = sc.nextInt();
			int x = sc.nextInt();
			int sum = 0;
			int[] array = new int[n];
			for(int i = 0; i<n; i++) {
				array[i] = sc.nextInt();
				sum+=array[i];
			}
			sc.close();
			int min = Integer.MAX_VALUE;
			for(int i = 0;i<n;i++) {
				if(array[i]<min) {
					min = array[i];
				}
			}
			int res = (x-sum)/min;
			System.out.println(res+n);
		}
	public static void main(String[] args) {
		solve();

	}

} public class Main {

		static void solve() {
			Scanner sc = new Scanner(System.in);
			int n = sc.nextInt();
			int x = sc.nextInt();
			int sum = 0;
			int[] array = new int[n];
			for(int i = 0; i<n; i++) {
				array[i] = sc.nextInt();
				sum+=array[i];
			}
			sc.close();
			int min = Integer.MAX_VALUE;
			for(int i = 0;i<n;i++) {
				if(array[i]<min) {
					min = array[i];
				}
			}
			int res = (x-sum)/min;
			System.out.println(res+n);
		}
	public static void main(String[] args) {
		solve();

	}

} Main
import java.util.*;
public class Main {

		static void solve() {
			Scanner sc = new Scanner(System.in);
			int n = sc.nextInt();
			int x = sc.nextInt();
			int sum = 0;
			int[] array = new int[n];
			for(int i = 0; i<n; i++) {
				array[i] = sc.nextInt();
				sum+=array[i];
			}
			sc.close();
			int min = Integer.MAX_VALUE;
			for(int i = 0;i<n;i++) {
				if(array[i]<min) {
					min = array[i];
				}
			}
			int res = (x-sum)/min;
			System.out.println(res+n);
		}
	public static void main(String[] args) {
		solve();

	}

}
