import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		int N = in.nextInt();
		int X = in.nextInt();
		int[] m = new int[N] ;
		for(int i=0;i<N;i++) {
			 m[i] = in.nextInt();
		}
		int min =1001;
		int sum=0;
		for(int i=0;i<N;i++) {
			sum+=m[i];
			min=Math.min(min, m[i]);
		}
		int a=(X-sum)/min;
		int ans=a+N;
		System.out.println(ans);
	}

} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		int N = in.nextInt();
		int X = in.nextInt();
		int[] m = new int[N] ;
		for(int i=0;i<N;i++) {
			 m[i] = in.nextInt();
		}
		int min =1001;
		int sum=0;
		for(int i=0;i<N;i++) {
			sum+=m[i];
			min=Math.min(min, m[i]);
		}
		int a=(X-sum)/min;
		int ans=a+N;
		System.out.println(ans);
	}

} Main public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		int N = in.nextInt();
		int X = in.nextInt();
		int[] m = new int[N] ;
		for(int i=0;i<N;i++) {
			 m[i] = in.nextInt();
		}
		int min =1001;
		int sum=0;
		for(int i=0;i<N;i++) {
			sum+=m[i];
			min=Math.min(min, m[i]);
		}
		int a=(X-sum)/min;
		int ans=a+N;
		System.out.println(ans);
	} main {
		Scanner in = new Scanner(System.in);
		int N = in.nextInt();
		int X = in.nextInt();
		int[] m = new int[N] ;
		for(int i=0;i<N;i++) {
			 m[i] = in.nextInt();
		}
		int min =1001;
		int sum=0;
		for(int i=0;i<N;i++) {
			sum+=m[i];
			min=Math.min(min, m[i]);
		}
		int a=(X-sum)/min;
		int ans=a+N;
		System.out.println(ans);
	} Scanner in = new Scanner(System.in); in new Scanner(System.in) int N = in.nextInt(); N in.nextInt() in.nextInt in int X = in.nextInt(); X in.nextInt() in.nextInt in int[] m = new int[N] ; m new int[N] N for(int i=0;i<N;i++) {
			 m[i] = in.nextInt();
		} int i=0; int i=0; i 0 i<N i N i++ i++ i {
			 m[i] = in.nextInt();
		} {
			 m[i] = in.nextInt();
		} m[i] = in.nextInt() m[i] m i in.nextInt() in.nextInt in int min =1001; min 1001 int sum=0; sum 0 for(int i=0;i<N;i++) {
			sum+=m[i];
			min=Math.min(min, m[i]);
		} int i=0; int i=0; i 0 i<N i N i++ i++ i {
			sum+=m[i];
			min=Math.min(min, m[i]);
		} {
			sum+=m[i];
			min=Math.min(min, m[i]);
		} sum+=m[i] sum m[i] m i min=Math.min(min, m[i]) min Math.min(min, m[i]) Math.min Math min m[i] m i int a=(X-sum)/min; a (X-sum)/min (X-sum) X sum min int ans=a+N; ans a+N a N System.out.println(ans) System.out.println System.out System System.out ans String[] args args public class Main {
	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		int N = in.nextInt();
		int X = in.nextInt();
		int[] m = new int[N] ;
		for(int i=0;i<N;i++) {
			 m[i] = in.nextInt();
		}
		int min =1001;
		int sum=0;
		for(int i=0;i<N;i++) {
			sum+=m[i];
			min=Math.min(min, m[i]);
		}
		int a=(X-sum)/min;
		int ans=a+N;
		System.out.println(ans);
	}

} public class Main {
	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		int N = in.nextInt();
		int X = in.nextInt();
		int[] m = new int[N] ;
		for(int i=0;i<N;i++) {
			 m[i] = in.nextInt();
		}
		int min =1001;
		int sum=0;
		for(int i=0;i<N;i++) {
			sum+=m[i];
			min=Math.min(min, m[i]);
		}
		int a=(X-sum)/min;
		int ans=a+N;
		System.out.println(ans);
	}

} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		int N = in.nextInt();
		int X = in.nextInt();
		int[] m = new int[N] ;
		for(int i=0;i<N;i++) {
			 m[i] = in.nextInt();
		}
		int min =1001;
		int sum=0;
		for(int i=0;i<N;i++) {
			sum+=m[i];
			min=Math.min(min, m[i]);
		}
		int a=(X-sum)/min;
		int ans=a+N;
		System.out.println(ans);
	}

}
