import 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 total = 0;
		int[] donut = new int[N];
		int cheapest = Integer.MAX_VALUE;
		for (int i=0; i<N; i++){
			donut[i] = sc.nextInt();
			cheapest = Math.min(cheapest, donut[i]);
			X-=donut[i];
			total++;
		}
		total+=X/cheapest;
		System.out.println(total);
	}

} import java.util.*; util.* java public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int X = sc.nextInt();
		int total = 0;
		int[] donut = new int[N];
		int cheapest = Integer.MAX_VALUE;
		for (int i=0; i<N; i++){
			donut[i] = sc.nextInt();
			cheapest = Math.min(cheapest, donut[i]);
			X-=donut[i];
			total++;
		}
		total+=X/cheapest;
		System.out.println(total);
	}

} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int X = sc.nextInt();
		int total = 0;
		int[] donut = new int[N];
		int cheapest = Integer.MAX_VALUE;
		for (int i=0; i<N; i++){
			donut[i] = sc.nextInt();
			cheapest = Math.min(cheapest, donut[i]);
			X-=donut[i];
			total++;
		}
		total+=X/cheapest;
		System.out.println(total);
	} main {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int X = sc.nextInt();
		int total = 0;
		int[] donut = new int[N];
		int cheapest = Integer.MAX_VALUE;
		for (int i=0; i<N; i++){
			donut[i] = sc.nextInt();
			cheapest = Math.min(cheapest, donut[i]);
			X-=donut[i];
			total++;
		}
		total+=X/cheapest;
		System.out.println(total);
	} 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 total = 0; total 0 int[] donut = new int[N]; donut new int[N] N int cheapest = Integer.MAX_VALUE; cheapest Integer.MAX_VALUE Integer Integer.MAX_VALUE for (int i=0; i<N; i++){
			donut[i] = sc.nextInt();
			cheapest = Math.min(cheapest, donut[i]);
			X-=donut[i];
			total++;
		} int i=0; int i=0; i 0 i<N i N i++ i++ i {
			donut[i] = sc.nextInt();
			cheapest = Math.min(cheapest, donut[i]);
			X-=donut[i];
			total++;
		} {
			donut[i] = sc.nextInt();
			cheapest = Math.min(cheapest, donut[i]);
			X-=donut[i];
			total++;
		} donut[i] = sc.nextInt() donut[i] donut i sc.nextInt() sc.nextInt sc cheapest = Math.min(cheapest, donut[i]) cheapest Math.min(cheapest, donut[i]) Math.min Math cheapest donut[i] donut i X-=donut[i] X donut[i] donut i total++ total total+=X/cheapest total X/cheapest X cheapest System.out.println(total) System.out.println System.out System System.out total 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 total = 0;
		int[] donut = new int[N];
		int cheapest = Integer.MAX_VALUE;
		for (int i=0; i<N; i++){
			donut[i] = sc.nextInt();
			cheapest = Math.min(cheapest, donut[i]);
			X-=donut[i];
			total++;
		}
		total+=X/cheapest;
		System.out.println(total);
	}

} public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int X = sc.nextInt();
		int total = 0;
		int[] donut = new int[N];
		int cheapest = Integer.MAX_VALUE;
		for (int i=0; i<N; i++){
			donut[i] = sc.nextInt();
			cheapest = Math.min(cheapest, donut[i]);
			X-=donut[i];
			total++;
		}
		total+=X/cheapest;
		System.out.println(total);
	}

} Main
import 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 total = 0;
		int[] donut = new int[N];
		int cheapest = Integer.MAX_VALUE;
		for (int i=0; i<N; i++){
			donut[i] = sc.nextInt();
			cheapest = Math.min(cheapest, donut[i]);
			X-=donut[i];
			total++;
		}
		total+=X/cheapest;
		System.out.println(total);
	}

}