import java.util.Scanner;

public class Main {
	
	public static void main(String... ac) {
		
		Scanner sc = new Scanner(System.in);
		
		int n = sc.nextInt(), x = sc.nextInt();
		
		int sum = 0, min = (int) 2e9;
		
		for (int i = 0; i < n; i++) {
			int m = sc.nextInt();
			sum += m;
			min = Math.min(min, m);
		}
		
		System.out.println(n + (x - sum) / min);
		
	}
	
} import java.util.Scanner; Scanner java.util public class Main {
	
	public static void main(String... ac) {
		
		Scanner sc = new Scanner(System.in);
		
		int n = sc.nextInt(), x = sc.nextInt();
		
		int sum = 0, min = (int) 2e9;
		
		for (int i = 0; i < n; i++) {
			int m = sc.nextInt();
			sum += m;
			min = Math.min(min, m);
		}
		
		System.out.println(n + (x - sum) / min);
		
	}
	
} Main public static void main(String... ac) {
		
		Scanner sc = new Scanner(System.in);
		
		int n = sc.nextInt(), x = sc.nextInt();
		
		int sum = 0, min = (int) 2e9;
		
		for (int i = 0; i < n; i++) {
			int m = sc.nextInt();
			sum += m;
			min = Math.min(min, m);
		}
		
		System.out.println(n + (x - sum) / min);
		
	} main {
		
		Scanner sc = new Scanner(System.in);
		
		int n = sc.nextInt(), x = sc.nextInt();
		
		int sum = 0, min = (int) 2e9;
		
		for (int i = 0; i < n; i++) {
			int m = sc.nextInt();
			sum += m;
			min = Math.min(min, m);
		}
		
		System.out.println(n + (x - sum) / min);
		
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt() n sc.nextInt() sc.nextInt sc x = sc.nextInt(); x sc.nextInt() sc.nextInt sc int sum = 0 sum 0 min = (int) 2e9; min (int) 2e9 for (int i = 0; i < n; i++) {
			int m = sc.nextInt();
			sum += m;
			min = Math.min(min, m);
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			int m = sc.nextInt();
			sum += m;
			min = Math.min(min, m);
		} {
			int m = sc.nextInt();
			sum += m;
			min = Math.min(min, m);
		} int m = sc.nextInt(); m sc.nextInt() sc.nextInt sc sum += m sum m min = Math.min(min, m) min Math.min(min, m) Math.min Math min m System.out.println(n + (x - sum) / min) System.out.println System.out System System.out n + (x - sum) / min n (x - sum) / min (x - sum) x sum min String... ac ac public class Main {
	
	public static void main(String... ac) {
		
		Scanner sc = new Scanner(System.in);
		
		int n = sc.nextInt(), x = sc.nextInt();
		
		int sum = 0, min = (int) 2e9;
		
		for (int i = 0; i < n; i++) {
			int m = sc.nextInt();
			sum += m;
			min = Math.min(min, m);
		}
		
		System.out.println(n + (x - sum) / min);
		
	}
	
} public class Main {
	
	public static void main(String... ac) {
		
		Scanner sc = new Scanner(System.in);
		
		int n = sc.nextInt(), x = sc.nextInt();
		
		int sum = 0, min = (int) 2e9;
		
		for (int i = 0; i < n; i++) {
			int m = sc.nextInt();
			sum += m;
			min = Math.min(min, m);
		}
		
		System.out.println(n + (x - sum) / min);
		
	}
	
} Main
import java.util.Scanner;

public class Main {
	
	public static void main(String... ac) {
		
		Scanner sc = new Scanner(System.in);
		
		int n = sc.nextInt(), x = sc.nextInt();
		
		int sum = 0, min = (int) 2e9;
		
		for (int i = 0; i < n; i++) {
			int m = sc.nextInt();
			sum += m;
			min = Math.min(min, m);
		}
		
		System.out.println(n + (x - sum) / min);
		
	}
	
}