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[] m = new int[N];
		for (int i = 0; i < N; i++) {
			m[i] = sc.nextInt();
		}
		
		int cnt = 0;
		int sum = 0;
		int min = X;
		for (int i = 0; i < N; i++) {
			sum += m[i];
			cnt++;
			if (m[i] < min)
				min = m[i];
		}
		
		X -= sum;
		while(X >= min) {
			X -= min;
			cnt++;
		}
		
		System.out.println(cnt);
		
		sc.close();

	}

} 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[] m = new int[N];
		for (int i = 0; i < N; i++) {
			m[i] = sc.nextInt();
		}
		
		int cnt = 0;
		int sum = 0;
		int min = X;
		for (int i = 0; i < N; i++) {
			sum += m[i];
			cnt++;
			if (m[i] < min)
				min = m[i];
		}
		
		X -= sum;
		while(X >= min) {
			X -= min;
			cnt++;
		}
		
		System.out.println(cnt);
		
		sc.close();

	}

} 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];
		for (int i = 0; i < N; i++) {
			m[i] = sc.nextInt();
		}
		
		int cnt = 0;
		int sum = 0;
		int min = X;
		for (int i = 0; i < N; i++) {
			sum += m[i];
			cnt++;
			if (m[i] < min)
				min = m[i];
		}
		
		X -= sum;
		while(X >= min) {
			X -= min;
			cnt++;
		}
		
		System.out.println(cnt);
		
		sc.close();

	} main {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int X = sc.nextInt();
		int[] m = new int[N];
		for (int i = 0; i < N; i++) {
			m[i] = sc.nextInt();
		}
		
		int cnt = 0;
		int sum = 0;
		int min = X;
		for (int i = 0; i < N; i++) {
			sum += m[i];
			cnt++;
			if (m[i] < min)
				min = m[i];
		}
		
		X -= sum;
		while(X >= min) {
			X -= min;
			cnt++;
		}
		
		System.out.println(cnt);
		
		sc.close();

	} 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 for (int i = 0; i < N; i++) {
			m[i] = sc.nextInt();
		} int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
			m[i] = sc.nextInt();
		} {
			m[i] = sc.nextInt();
		} m[i] = sc.nextInt() m[i] m i sc.nextInt() sc.nextInt sc int cnt = 0; cnt 0 int sum = 0; sum 0 int min = X; min X for (int i = 0; i < N; i++) {
			sum += m[i];
			cnt++;
			if (m[i] < min)
				min = m[i];
		} int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
			sum += m[i];
			cnt++;
			if (m[i] < min)
				min = m[i];
		} {
			sum += m[i];
			cnt++;
			if (m[i] < min)
				min = m[i];
		} sum += m[i] sum m[i] m i cnt++ cnt if (m[i] < min)
				min = m[i]; m[i] < min m[i] m i min min = m[i] min m[i] m i X -= sum X sum while(X >= min) {
			X -= min;
			cnt++;
		} X >= min X min {
			X -= min;
			cnt++;
		} X -= min X min cnt++ cnt System.out.println(cnt) System.out.println System.out System System.out cnt sc.close() sc.close sc 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[] m = new int[N];
		for (int i = 0; i < N; i++) {
			m[i] = sc.nextInt();
		}
		
		int cnt = 0;
		int sum = 0;
		int min = X;
		for (int i = 0; i < N; i++) {
			sum += m[i];
			cnt++;
			if (m[i] < min)
				min = m[i];
		}
		
		X -= sum;
		while(X >= min) {
			X -= min;
			cnt++;
		}
		
		System.out.println(cnt);
		
		sc.close();

	}

} public 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];
		for (int i = 0; i < N; i++) {
			m[i] = sc.nextInt();
		}
		
		int cnt = 0;
		int sum = 0;
		int min = X;
		for (int i = 0; i < N; i++) {
			sum += m[i];
			cnt++;
			if (m[i] < min)
				min = m[i];
		}
		
		X -= sum;
		while(X >= min) {
			X -= min;
			cnt++;
		}
		
		System.out.println(cnt);
		
		sc.close();

	}

} 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[] m = new int[N];
		for (int i = 0; i < N; i++) {
			m[i] = sc.nextInt();
		}
		
		int cnt = 0;
		int sum = 0;
		int min = X;
		for (int i = 0; i < N; i++) {
			sum += m[i];
			cnt++;
			if (m[i] < min)
				min = m[i];
		}
		
		X -= sum;
		while(X >= min) {
			X -= min;
			cnt++;
		}
		
		System.out.println(cnt);
		
		sc.close();

	}

}