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 donutWeights[] = new int[n];
		
		for (int i = 0; i < n; i++) {
			donutWeights[i] = sc.nextInt();
		}
		
		int essentialWeight = 0;
		
		for (int i = 0; i < n; i++) {
			essentialWeight += donutWeights[i];
		}
		
		int min = donutWeights[0];
		
		for (int i = 0; i < n; i++) {
			if (min > donutWeights[i]){
				min = donutWeights[i];
			} 
		}
		
		int minDonatPieces = (x - essentialWeight) / min;
		
		System.out.println(n + minDonatPieces);
	}
} 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 donutWeights[] = new int[n];
		
		for (int i = 0; i < n; i++) {
			donutWeights[i] = sc.nextInt();
		}
		
		int essentialWeight = 0;
		
		for (int i = 0; i < n; i++) {
			essentialWeight += donutWeights[i];
		}
		
		int min = donutWeights[0];
		
		for (int i = 0; i < n; i++) {
			if (min > donutWeights[i]){
				min = donutWeights[i];
			} 
		}
		
		int minDonatPieces = (x - essentialWeight) / min;
		
		System.out.println(n + minDonatPieces);
	}
} Main public static void main (String[] args) {
		Scanner sc = new Scanner(System.in);

		int n = sc.nextInt();
		int x = sc.nextInt();
		
		int donutWeights[] = new int[n];
		
		for (int i = 0; i < n; i++) {
			donutWeights[i] = sc.nextInt();
		}
		
		int essentialWeight = 0;
		
		for (int i = 0; i < n; i++) {
			essentialWeight += donutWeights[i];
		}
		
		int min = donutWeights[0];
		
		for (int i = 0; i < n; i++) {
			if (min > donutWeights[i]){
				min = donutWeights[i];
			} 
		}
		
		int minDonatPieces = (x - essentialWeight) / min;
		
		System.out.println(n + minDonatPieces);
	} main {
		Scanner sc = new Scanner(System.in);

		int n = sc.nextInt();
		int x = sc.nextInt();
		
		int donutWeights[] = new int[n];
		
		for (int i = 0; i < n; i++) {
			donutWeights[i] = sc.nextInt();
		}
		
		int essentialWeight = 0;
		
		for (int i = 0; i < n; i++) {
			essentialWeight += donutWeights[i];
		}
		
		int min = donutWeights[0];
		
		for (int i = 0; i < n; i++) {
			if (min > donutWeights[i]){
				min = donutWeights[i];
			} 
		}
		
		int minDonatPieces = (x - essentialWeight) / min;
		
		System.out.println(n + minDonatPieces);
	} 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 donutWeights[] = new int[n]; donutWeights new int[n] n for (int i = 0; i < n; i++) {
			donutWeights[i] = sc.nextInt();
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			donutWeights[i] = sc.nextInt();
		} {
			donutWeights[i] = sc.nextInt();
		} donutWeights[i] = sc.nextInt() donutWeights[i] donutWeights i sc.nextInt() sc.nextInt sc int essentialWeight = 0; essentialWeight 0 for (int i = 0; i < n; i++) {
			essentialWeight += donutWeights[i];
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			essentialWeight += donutWeights[i];
		} {
			essentialWeight += donutWeights[i];
		} essentialWeight += donutWeights[i] essentialWeight donutWeights[i] donutWeights i int min = donutWeights[0]; min donutWeights[0] donutWeights 0 for (int i = 0; i < n; i++) {
			if (min > donutWeights[i]){
				min = donutWeights[i];
			} 
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			if (min > donutWeights[i]){
				min = donutWeights[i];
			} 
		} {
			if (min > donutWeights[i]){
				min = donutWeights[i];
			} 
		} if (min > donutWeights[i]){
				min = donutWeights[i];
			} min > donutWeights[i] min donutWeights[i] donutWeights i {
				min = donutWeights[i];
			} min = donutWeights[i] min donutWeights[i] donutWeights i int minDonatPieces = (x - essentialWeight) / min; minDonatPieces (x - essentialWeight) / min (x - essentialWeight) x essentialWeight min System.out.println(n + minDonatPieces) System.out.println System.out System System.out n + minDonatPieces n minDonatPieces 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 donutWeights[] = new int[n];
		
		for (int i = 0; i < n; i++) {
			donutWeights[i] = sc.nextInt();
		}
		
		int essentialWeight = 0;
		
		for (int i = 0; i < n; i++) {
			essentialWeight += donutWeights[i];
		}
		
		int min = donutWeights[0];
		
		for (int i = 0; i < n; i++) {
			if (min > donutWeights[i]){
				min = donutWeights[i];
			} 
		}
		
		int minDonatPieces = (x - essentialWeight) / min;
		
		System.out.println(n + minDonatPieces);
	}
} public class Main {
	public static void main (String[] args) {
		Scanner sc = new Scanner(System.in);

		int n = sc.nextInt();
		int x = sc.nextInt();
		
		int donutWeights[] = new int[n];
		
		for (int i = 0; i < n; i++) {
			donutWeights[i] = sc.nextInt();
		}
		
		int essentialWeight = 0;
		
		for (int i = 0; i < n; i++) {
			essentialWeight += donutWeights[i];
		}
		
		int min = donutWeights[0];
		
		for (int i = 0; i < n; i++) {
			if (min > donutWeights[i]){
				min = donutWeights[i];
			} 
		}
		
		int minDonatPieces = (x - essentialWeight) / min;
		
		System.out.println(n + minDonatPieces);
	}
} Main
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 donutWeights[] = new int[n];
		
		for (int i = 0; i < n; i++) {
			donutWeights[i] = sc.nextInt();
		}
		
		int essentialWeight = 0;
		
		for (int i = 0; i < n; i++) {
			essentialWeight += donutWeights[i];
		}
		
		int min = donutWeights[0];
		
		for (int i = 0; i < n; i++) {
			if (min > donutWeights[i]){
				min = donutWeights[i];
			} 
		}
		
		int minDonatPieces = (x - essentialWeight) / min;
		
		System.out.println(n + minDonatPieces);
	}
}