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

class Main{



	public static void main(String[] args) {



		Scanner sc = new Scanner(System.in);			//文字の入力
	int N = sc.nextInt();
	int X = sc.nextInt();
	int[] m = new int[N];
	int ans = N;
	for(int i = 0;i < N;i++){
		m[i] = sc.nextInt();
		X -= m[i];
	}
	Arrays.sort(m);
	if(X == 0){
		System.out.println(ans);
		return;

	}
	while(X>=0){
		X -= m[0];
		ans++;
	}
	

System.out.println(ans-1);


	}

	static long comb(int n,int r){
		long ue = 1;
		for(int i = 0;i < r;i++){
			ue *= n-i;
		}
		long sita = 1;
		for(int i = 1;i <= r;i++){
			sita *= i;
		}
		return ue/sita;


	}





}




class Pair implements Comparable{
	String from;
	int end;
	@Override
	public int compareTo(Object other) {
		Pair otherpair = (Pair)other;

		return end - otherpair.end;
	}
}


 import java.util.Arrays; Arrays java.util import java.util.Scanner; Scanner java.util class Main{



	public static void main(String[] args) {



		Scanner sc = new Scanner(System.in);			//文字の入力
	int N = sc.nextInt();
	int X = sc.nextInt();
	int[] m = new int[N];
	int ans = N;
	for(int i = 0;i < N;i++){
		m[i] = sc.nextInt();
		X -= m[i];
	}
	Arrays.sort(m);
	if(X == 0){
		System.out.println(ans);
		return;

	}
	while(X>=0){
		X -= m[0];
		ans++;
	}
	

System.out.println(ans-1);


	}

	static long comb(int n,int r){
		long ue = 1;
		for(int i = 0;i < r;i++){
			ue *= n-i;
		}
		long sita = 1;
		for(int i = 1;i <= r;i++){
			sita *= i;
		}
		return ue/sita;


	}





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



		Scanner sc = new Scanner(System.in);			//文字の入力
	int N = sc.nextInt();
	int X = sc.nextInt();
	int[] m = new int[N];
	int ans = N;
	for(int i = 0;i < N;i++){
		m[i] = sc.nextInt();
		X -= m[i];
	}
	Arrays.sort(m);
	if(X == 0){
		System.out.println(ans);
		return;

	}
	while(X>=0){
		X -= m[0];
		ans++;
	}
	

System.out.println(ans-1);


	} main {



		Scanner sc = new Scanner(System.in);			//文字の入力
	int N = sc.nextInt();
	int X = sc.nextInt();
	int[] m = new int[N];
	int ans = N;
	for(int i = 0;i < N;i++){
		m[i] = sc.nextInt();
		X -= m[i];
	}
	Arrays.sort(m);
	if(X == 0){
		System.out.println(ans);
		return;

	}
	while(X>=0){
		X -= m[0];
		ans++;
	}
	

System.out.println(ans-1);


	} 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[] m = new int[N]; m new int[N] N int ans = N; ans N for(int i = 0;i < N;i++){
		m[i] = sc.nextInt();
		X -= m[i];
	} int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
		m[i] = sc.nextInt();
		X -= m[i];
	} {
		m[i] = sc.nextInt();
		X -= m[i];
	} m[i] = sc.nextInt() m[i] m i sc.nextInt() sc.nextInt sc X -= m[i] X m[i] m i Arrays.sort(m) Arrays.sort Arrays m if(X == 0){
		System.out.println(ans);
		return;

	} X == 0 X 0 {
		System.out.println(ans);
		return;

	} System.out.println(ans) System.out.println System.out System System.out ans return; while(X>=0){
		X -= m[0];
		ans++;
	} X>=0 X 0 {
		X -= m[0];
		ans++;
	} X -= m[0] X m[0] m 0 ans++ ans System.out.println(ans-1) System.out.println System.out System System.out ans-1 ans 1 String[] args args static long comb(int n,int r){
		long ue = 1;
		for(int i = 0;i < r;i++){
			ue *= n-i;
		}
		long sita = 1;
		for(int i = 1;i <= r;i++){
			sita *= i;
		}
		return ue/sita;


	} comb {
		long ue = 1;
		for(int i = 0;i < r;i++){
			ue *= n-i;
		}
		long sita = 1;
		for(int i = 1;i <= r;i++){
			sita *= i;
		}
		return ue/sita;


	} long ue = 1; ue 1 for(int i = 0;i < r;i++){
			ue *= n-i;
		} int i = 0; int i = 0; i 0 i < r i r i++ i++ i {
			ue *= n-i;
		} {
			ue *= n-i;
		} ue *= n-i ue n-i n i long sita = 1; sita 1 for(int i = 1;i <= r;i++){
			sita *= i;
		} int i = 1; int i = 1; i 1 i <= r i r i++ i++ i {
			sita *= i;
		} {
			sita *= i;
		} sita *= i sita i return ue/sita; ue/sita ue sita int n n int r r class Pair implements Comparable{
	String from;
	int end;
	@Override
	public int compareTo(Object other) {
		Pair otherpair = (Pair)other;

		return end - otherpair.end;
	}
} Pair String from; from int end; end @Override
	public int compareTo(Object other) {
		Pair otherpair = (Pair)other;

		return end - otherpair.end;
	} compareTo {
		Pair otherpair = (Pair)other;

		return end - otherpair.end;
	} Pair otherpair = (Pair)other; otherpair (Pair)other return end - otherpair.end; end - otherpair.end end otherpair.end otherpair otherpair.end Object other other Comparable
import java.util.Arrays;
import java.util.Scanner;

class Main{



	public static void main(String[] args) {



		Scanner sc = new Scanner(System.in);			//文字の入力
	int N = sc.nextInt();
	int X = sc.nextInt();
	int[] m = new int[N];
	int ans = N;
	for(int i = 0;i < N;i++){
		m[i] = sc.nextInt();
		X -= m[i];
	}
	Arrays.sort(m);
	if(X == 0){
		System.out.println(ans);
		return;

	}
	while(X>=0){
		X -= m[0];
		ans++;
	}
	

System.out.println(ans-1);


	}

	static long comb(int n,int r){
		long ue = 1;
		for(int i = 0;i < r;i++){
			ue *= n-i;
		}
		long sita = 1;
		for(int i = 1;i <= r;i++){
			sita *= i;
		}
		return ue/sita;


	}





}




class Pair implements Comparable{
	String from;
	int end;
	@Override
	public int compareTo(Object other) {
		Pair otherpair = (Pair)other;

		return end - otherpair.end;
	}
}



