import java.util.Arrays;
import java.util.Scanner;
public class Main {
	//public static int N,K,a=-1;
	public static String ans="",s;

	//public static int a[][]=new int[5][5];

	public static void main(String[]args) {
		Scanner sc=new Scanner(System.in);
		int n=sc.nextInt();
		int x=sc.nextInt();
		int a[]=new int[n];
		for(int i=0;i<n;i++) {
			a[i]=sc.nextInt();
			x-=a[i];
		}
		Arrays.sort(a);
		int ans=n;
		for(;;) {
			x-=a[0];
			if(x<0)break;
			ans++;
		}
		System.out.println(ans);
	}
} import java.util.Arrays; Arrays java.util import java.util.Scanner; Scanner java.util public class Main {
	//public static int N,K,a=-1;
	public static String ans="",s;

	//public static int a[][]=new int[5][5];

	public static void main(String[]args) {
		Scanner sc=new Scanner(System.in);
		int n=sc.nextInt();
		int x=sc.nextInt();
		int a[]=new int[n];
		for(int i=0;i<n;i++) {
			a[i]=sc.nextInt();
			x-=a[i];
		}
		Arrays.sort(a);
		int ans=n;
		for(;;) {
			x-=a[0];
			if(x<0)break;
			ans++;
		}
		System.out.println(ans);
	}
} Main //public static int N,K,a=-1;
	public static String ans="" ans "" s; s public static void main(String[]args) {
		Scanner sc=new Scanner(System.in);
		int n=sc.nextInt();
		int x=sc.nextInt();
		int a[]=new int[n];
		for(int i=0;i<n;i++) {
			a[i]=sc.nextInt();
			x-=a[i];
		}
		Arrays.sort(a);
		int ans=n;
		for(;;) {
			x-=a[0];
			if(x<0)break;
			ans++;
		}
		System.out.println(ans);
	} main {
		Scanner sc=new Scanner(System.in);
		int n=sc.nextInt();
		int x=sc.nextInt();
		int a[]=new int[n];
		for(int i=0;i<n;i++) {
			a[i]=sc.nextInt();
			x-=a[i];
		}
		Arrays.sort(a);
		int ans=n;
		for(;;) {
			x-=a[0];
			if(x<0)break;
			ans++;
		}
		System.out.println(ans);
	} 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 a[]=new int[n]; a new int[n] n for(int i=0;i<n;i++) {
			a[i]=sc.nextInt();
			x-=a[i];
		} int i=0; int i=0; i 0 i<n i n i++ i++ i {
			a[i]=sc.nextInt();
			x-=a[i];
		} {
			a[i]=sc.nextInt();
			x-=a[i];
		} a[i]=sc.nextInt() a[i] a i sc.nextInt() sc.nextInt sc x-=a[i] x a[i] a i Arrays.sort(a) Arrays.sort Arrays a int ans=n; ans n for(;;) {
			x-=a[0];
			if(x<0)break;
			ans++;
		} ; {
			x-=a[0];
			if(x<0)break;
			ans++;
		} {
			x-=a[0];
			if(x<0)break;
			ans++;
		} x-=a[0] x a[0] a 0 if(x<0)break; x<0 x 0 break; ans++ ans System.out.println(ans) System.out.println System.out System System.out ans String[]args args public class Main {
	//public static int N,K,a=-1;
	public static String ans="",s;

	//public static int a[][]=new int[5][5];

	public static void main(String[]args) {
		Scanner sc=new Scanner(System.in);
		int n=sc.nextInt();
		int x=sc.nextInt();
		int a[]=new int[n];
		for(int i=0;i<n;i++) {
			a[i]=sc.nextInt();
			x-=a[i];
		}
		Arrays.sort(a);
		int ans=n;
		for(;;) {
			x-=a[0];
			if(x<0)break;
			ans++;
		}
		System.out.println(ans);
	}
} public class Main {
	//public static int N,K,a=-1;
	public static String ans="",s;

	//public static int a[][]=new int[5][5];

	public static void main(String[]args) {
		Scanner sc=new Scanner(System.in);
		int n=sc.nextInt();
		int x=sc.nextInt();
		int a[]=new int[n];
		for(int i=0;i<n;i++) {
			a[i]=sc.nextInt();
			x-=a[i];
		}
		Arrays.sort(a);
		int ans=n;
		for(;;) {
			x-=a[0];
			if(x<0)break;
			ans++;
		}
		System.out.println(ans);
	}
} Main
import java.util.Arrays;
import java.util.Scanner;
public class Main {
	//public static int N,K,a=-1;
	public static String ans="",s;

	//public static int a[][]=new int[5][5];

	public static void main(String[]args) {
		Scanner sc=new Scanner(System.in);
		int n=sc.nextInt();
		int x=sc.nextInt();
		int a[]=new int[n];
		for(int i=0;i<n;i++) {
			a[i]=sc.nextInt();
			x-=a[i];
		}
		Arrays.sort(a);
		int ans=n;
		for(;;) {
			x-=a[0];
			if(x<0)break;
			ans++;
		}
		System.out.println(ans);
	}
}