import java.util.*;

public class Main {
	public static void main(String[] args) throws Exception{
		Scanner scn = new Scanner(System.in);
		int n = scn.nextInt();
      	int x = scn.nextInt();
		int[] a = new int[n];
		for(int i=0; i<a.length; ++i){
			a[i] = scn.nextInt();
		}
      	int sum = 0;
      	for(int i=0; i<a.length; ++i){
			sum = sum + a[i];
		}
      	int xx = x - sum;
      	int mini = 1000;
      	for(int i=0; i<a.length; ++i){
			if(mini>a[i]){
              mini = a[i];
            }
		}
      	int num = xx/mini;
      	int ans = n + num;
      	System.out.println(ans);
	}
} import java.util.*; util.* java public class Main {
	public static void main(String[] args) throws Exception{
		Scanner scn = new Scanner(System.in);
		int n = scn.nextInt();
      	int x = scn.nextInt();
		int[] a = new int[n];
		for(int i=0; i<a.length; ++i){
			a[i] = scn.nextInt();
		}
      	int sum = 0;
      	for(int i=0; i<a.length; ++i){
			sum = sum + a[i];
		}
      	int xx = x - sum;
      	int mini = 1000;
      	for(int i=0; i<a.length; ++i){
			if(mini>a[i]){
              mini = a[i];
            }
		}
      	int num = xx/mini;
      	int ans = n + num;
      	System.out.println(ans);
	}
} Main public static void main(String[] args) throws Exception{
		Scanner scn = new Scanner(System.in);
		int n = scn.nextInt();
      	int x = scn.nextInt();
		int[] a = new int[n];
		for(int i=0; i<a.length; ++i){
			a[i] = scn.nextInt();
		}
      	int sum = 0;
      	for(int i=0; i<a.length; ++i){
			sum = sum + a[i];
		}
      	int xx = x - sum;
      	int mini = 1000;
      	for(int i=0; i<a.length; ++i){
			if(mini>a[i]){
              mini = a[i];
            }
		}
      	int num = xx/mini;
      	int ans = n + num;
      	System.out.println(ans);
	} main {
		Scanner scn = new Scanner(System.in);
		int n = scn.nextInt();
      	int x = scn.nextInt();
		int[] a = new int[n];
		for(int i=0; i<a.length; ++i){
			a[i] = scn.nextInt();
		}
      	int sum = 0;
      	for(int i=0; i<a.length; ++i){
			sum = sum + a[i];
		}
      	int xx = x - sum;
      	int mini = 1000;
      	for(int i=0; i<a.length; ++i){
			if(mini>a[i]){
              mini = a[i];
            }
		}
      	int num = xx/mini;
      	int ans = n + num;
      	System.out.println(ans);
	} Scanner scn = new Scanner(System.in); scn new Scanner(System.in) int n = scn.nextInt(); n scn.nextInt() scn.nextInt scn int x = scn.nextInt(); x scn.nextInt() scn.nextInt scn int[] a = new int[n]; a new int[n] n for(int i=0; i<a.length; ++i){
			a[i] = scn.nextInt();
		} int i=0; int i=0; i 0 i<a.length i a.length a a.length ++i ++i i {
			a[i] = scn.nextInt();
		} {
			a[i] = scn.nextInt();
		} a[i] = scn.nextInt() a[i] a i scn.nextInt() scn.nextInt scn int sum = 0; sum 0 for(int i=0; i<a.length; ++i){
			sum = sum + a[i];
		} int i=0; int i=0; i 0 i<a.length i a.length a a.length ++i ++i i {
			sum = sum + a[i];
		} {
			sum = sum + a[i];
		} sum = sum + a[i] sum sum + a[i] sum a[i] a i int xx = x - sum; xx x - sum x sum int mini = 1000; mini 1000 for(int i=0; i<a.length; ++i){
			if(mini>a[i]){
              mini = a[i];
            }
		} int i=0; int i=0; i 0 i<a.length i a.length a a.length ++i ++i i {
			if(mini>a[i]){
              mini = a[i];
            }
		} {
			if(mini>a[i]){
              mini = a[i];
            }
		} if(mini>a[i]){
              mini = a[i];
            } mini>a[i] mini a[i] a i {
              mini = a[i];
            } mini = a[i] mini a[i] a i int num = xx/mini; num xx/mini xx mini int ans = n + num; ans n + num n num 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) throws Exception{
		Scanner scn = new Scanner(System.in);
		int n = scn.nextInt();
      	int x = scn.nextInt();
		int[] a = new int[n];
		for(int i=0; i<a.length; ++i){
			a[i] = scn.nextInt();
		}
      	int sum = 0;
      	for(int i=0; i<a.length; ++i){
			sum = sum + a[i];
		}
      	int xx = x - sum;
      	int mini = 1000;
      	for(int i=0; i<a.length; ++i){
			if(mini>a[i]){
              mini = a[i];
            }
		}
      	int num = xx/mini;
      	int ans = n + num;
      	System.out.println(ans);
	}
} public class Main {
	public static void main(String[] args) throws Exception{
		Scanner scn = new Scanner(System.in);
		int n = scn.nextInt();
      	int x = scn.nextInt();
		int[] a = new int[n];
		for(int i=0; i<a.length; ++i){
			a[i] = scn.nextInt();
		}
      	int sum = 0;
      	for(int i=0; i<a.length; ++i){
			sum = sum + a[i];
		}
      	int xx = x - sum;
      	int mini = 1000;
      	for(int i=0; i<a.length; ++i){
			if(mini>a[i]){
              mini = a[i];
            }
		}
      	int num = xx/mini;
      	int ans = n + num;
      	System.out.println(ans);
	}
} Main
import java.util.*;

public class Main {
	public static void main(String[] args) throws Exception{
		Scanner scn = new Scanner(System.in);
		int n = scn.nextInt();
      	int x = scn.nextInt();
		int[] a = new int[n];
		for(int i=0; i<a.length; ++i){
			a[i] = scn.nextInt();
		}
      	int sum = 0;
      	for(int i=0; i<a.length; ++i){
			sum = sum + a[i];
		}
      	int xx = x - sum;
      	int mini = 1000;
      	for(int i=0; i<a.length; ++i){
			if(mini>a[i]){
              mini = a[i];
            }
		}
      	int num = xx/mini;
      	int ans = n + num;
      	System.out.println(ans);
	}
}