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

public class Main {
	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);

		int n = sc.nextInt();
		int x = sc.nextInt();
		int[] pow = new int[n];
		int total = 0;
		int amari =0;
		int ans = 0;

			for(int i=0; i<n; i++) {
				pow[i]=sc.nextInt();
				total+=pow[i];
			}
			Arrays.sort(pow);
			amari = x-total;
				if(amari == 0) {
					ans =n;
				}else {
					ans=(amari/pow[0])+n;
				}
		System.out.println(ans);
	}

} import java.util.Arrays; Arrays java.util import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);

		int n = sc.nextInt();
		int x = sc.nextInt();
		int[] pow = new int[n];
		int total = 0;
		int amari =0;
		int ans = 0;

			for(int i=0; i<n; i++) {
				pow[i]=sc.nextInt();
				total+=pow[i];
			}
			Arrays.sort(pow);
			amari = x-total;
				if(amari == 0) {
					ans =n;
				}else {
					ans=(amari/pow[0])+n;
				}
		System.out.println(ans);
	}

} Main public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);

		int n = sc.nextInt();
		int x = sc.nextInt();
		int[] pow = new int[n];
		int total = 0;
		int amari =0;
		int ans = 0;

			for(int i=0; i<n; i++) {
				pow[i]=sc.nextInt();
				total+=pow[i];
			}
			Arrays.sort(pow);
			amari = x-total;
				if(amari == 0) {
					ans =n;
				}else {
					ans=(amari/pow[0])+n;
				}
		System.out.println(ans);
	} main {

		Scanner sc = new Scanner(System.in);

		int n = sc.nextInt();
		int x = sc.nextInt();
		int[] pow = new int[n];
		int total = 0;
		int amari =0;
		int ans = 0;

			for(int i=0; i<n; i++) {
				pow[i]=sc.nextInt();
				total+=pow[i];
			}
			Arrays.sort(pow);
			amari = x-total;
				if(amari == 0) {
					ans =n;
				}else {
					ans=(amari/pow[0])+n;
				}
		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[] pow = new int[n]; pow new int[n] n int total = 0; total 0 int amari =0; amari 0 int ans = 0; ans 0 for(int i=0; i<n; i++) {
				pow[i]=sc.nextInt();
				total+=pow[i];
			} int i=0; int i=0; i 0 i<n i n i++ i++ i {
				pow[i]=sc.nextInt();
				total+=pow[i];
			} {
				pow[i]=sc.nextInt();
				total+=pow[i];
			} pow[i]=sc.nextInt() pow[i] pow i sc.nextInt() sc.nextInt sc total+=pow[i] total pow[i] pow i Arrays.sort(pow) Arrays.sort Arrays pow amari = x-total amari x-total x total if(amari == 0) {
					ans =n;
				}else {
					ans=(amari/pow[0])+n;
				} amari == 0 amari 0 {
					ans =n;
				} ans =n ans n {
					ans=(amari/pow[0])+n;
				} ans=(amari/pow[0])+n ans (amari/pow[0])+n (amari/pow[0]) amari pow[0] pow 0 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 sc = new Scanner(System.in);

		int n = sc.nextInt();
		int x = sc.nextInt();
		int[] pow = new int[n];
		int total = 0;
		int amari =0;
		int ans = 0;

			for(int i=0; i<n; i++) {
				pow[i]=sc.nextInt();
				total+=pow[i];
			}
			Arrays.sort(pow);
			amari = x-total;
				if(amari == 0) {
					ans =n;
				}else {
					ans=(amari/pow[0])+n;
				}
		System.out.println(ans);
	}

} public class Main {
	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);

		int n = sc.nextInt();
		int x = sc.nextInt();
		int[] pow = new int[n];
		int total = 0;
		int amari =0;
		int ans = 0;

			for(int i=0; i<n; i++) {
				pow[i]=sc.nextInt();
				total+=pow[i];
			}
			Arrays.sort(pow);
			amari = x-total;
				if(amari == 0) {
					ans =n;
				}else {
					ans=(amari/pow[0])+n;
				}
		System.out.println(ans);
	}

} Main
import java.util.Arrays;
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);

		int n = sc.nextInt();
		int x = sc.nextInt();
		int[] pow = new int[n];
		int total = 0;
		int amari =0;
		int ans = 0;

			for(int i=0; i<n; i++) {
				pow[i]=sc.nextInt();
				total+=pow[i];
			}
			Arrays.sort(pow);
			amari = x-total;
				if(amari == 0) {
					ans =n;
				}else {
					ans=(amari/pow[0])+n;
				}
		System.out.println(ans);
	}

}
