import java.util.Arrays;
import java.util.Scanner;

public class Main {

	@SuppressWarnings("resource")
	public static void main(String args[]) {
		Scanner scanner = new Scanner(System.in);
		int n=scanner.nextInt();
		int x=scanner.nextInt();
		int m[]=new int [n];
		
		for(int i=0;i<n;i++) {
			m[i]=scanner.nextInt();
			x-=m[i];
		}
		Arrays.sort(m);
		
		System.out.println(x/m[0]+n);
	}
} import java.util.Arrays; Arrays java.util import java.util.Scanner; Scanner java.util public class Main {

	@SuppressWarnings("resource")
	public static void main(String args[]) {
		Scanner scanner = new Scanner(System.in);
		int n=scanner.nextInt();
		int x=scanner.nextInt();
		int m[]=new int [n];
		
		for(int i=0;i<n;i++) {
			m[i]=scanner.nextInt();
			x-=m[i];
		}
		Arrays.sort(m);
		
		System.out.println(x/m[0]+n);
	}
} Main @SuppressWarnings("resource")
	public static void main(String args[]) {
		Scanner scanner = new Scanner(System.in);
		int n=scanner.nextInt();
		int x=scanner.nextInt();
		int m[]=new int [n];
		
		for(int i=0;i<n;i++) {
			m[i]=scanner.nextInt();
			x-=m[i];
		}
		Arrays.sort(m);
		
		System.out.println(x/m[0]+n);
	} main {
		Scanner scanner = new Scanner(System.in);
		int n=scanner.nextInt();
		int x=scanner.nextInt();
		int m[]=new int [n];
		
		for(int i=0;i<n;i++) {
			m[i]=scanner.nextInt();
			x-=m[i];
		}
		Arrays.sort(m);
		
		System.out.println(x/m[0]+n);
	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int n=scanner.nextInt(); n scanner.nextInt() scanner.nextInt scanner int x=scanner.nextInt(); x scanner.nextInt() scanner.nextInt scanner int m[]=new int [n]; m new int [n] n for(int i=0;i<n;i++) {
			m[i]=scanner.nextInt();
			x-=m[i];
		} int i=0; int i=0; i 0 i<n i n i++ i++ i {
			m[i]=scanner.nextInt();
			x-=m[i];
		} {
			m[i]=scanner.nextInt();
			x-=m[i];
		} m[i]=scanner.nextInt() m[i] m i scanner.nextInt() scanner.nextInt scanner x-=m[i] x m[i] m i Arrays.sort(m) Arrays.sort Arrays m System.out.println(x/m[0]+n) System.out.println System.out System System.out x/m[0]+n x/m[0] x m[0] m 0 n String args[] args public class Main {

	@SuppressWarnings("resource")
	public static void main(String args[]) {
		Scanner scanner = new Scanner(System.in);
		int n=scanner.nextInt();
		int x=scanner.nextInt();
		int m[]=new int [n];
		
		for(int i=0;i<n;i++) {
			m[i]=scanner.nextInt();
			x-=m[i];
		}
		Arrays.sort(m);
		
		System.out.println(x/m[0]+n);
	}
} public class Main {

	@SuppressWarnings("resource")
	public static void main(String args[]) {
		Scanner scanner = new Scanner(System.in);
		int n=scanner.nextInt();
		int x=scanner.nextInt();
		int m[]=new int [n];
		
		for(int i=0;i<n;i++) {
			m[i]=scanner.nextInt();
			x-=m[i];
		}
		Arrays.sort(m);
		
		System.out.println(x/m[0]+n);
	}
} Main
import java.util.Arrays;
import java.util.Scanner;

public class Main {

	@SuppressWarnings("resource")
	public static void main(String args[]) {
		Scanner scanner = new Scanner(System.in);
		int n=scanner.nextInt();
		int x=scanner.nextInt();
		int m[]=new int [n];
		
		for(int i=0;i<n;i++) {
			m[i]=scanner.nextInt();
			x-=m[i];
		}
		Arrays.sort(m);
		
		System.out.println(x/m[0]+n);
	}
}
