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 m;
		int minM=0;;
		int totalM = 0;

		for (int i=0; i<N; i++){
			m = sc.nextInt();
			if (i == 0){
				minM = m;
			} else {
				minM = Math.min(minM, m);
			}
			totalM += m;
		}
		System.out.println(N + (X-totalM)/minM);
	}

} 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 m;
		int minM=0;;
		int totalM = 0;

		for (int i=0; i<N; i++){
			m = sc.nextInt();
			if (i == 0){
				minM = m;
			} else {
				minM = Math.min(minM, m);
			}
			totalM += m;
		}
		System.out.println(N + (X-totalM)/minM);
	}

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

		Scanner sc = new Scanner(System.in);

		int N = sc.nextInt();
		int X = sc.nextInt();

		int m;
		int minM=0;;
		int totalM = 0;

		for (int i=0; i<N; i++){
			m = sc.nextInt();
			if (i == 0){
				minM = m;
			} else {
				minM = Math.min(minM, m);
			}
			totalM += m;
		}
		System.out.println(N + (X-totalM)/minM);
	} main {

		Scanner sc = new Scanner(System.in);

		int N = sc.nextInt();
		int X = sc.nextInt();

		int m;
		int minM=0;;
		int totalM = 0;

		for (int i=0; i<N; i++){
			m = sc.nextInt();
			if (i == 0){
				minM = m;
			} else {
				minM = Math.min(minM, m);
			}
			totalM += m;
		}
		System.out.println(N + (X-totalM)/minM);
	} 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; m int minM=0; minM 0 int totalM = 0; totalM 0 for (int i=0; i<N; i++){
			m = sc.nextInt();
			if (i == 0){
				minM = m;
			} else {
				minM = Math.min(minM, m);
			}
			totalM += m;
		} int i=0; int i=0; i 0 i<N i N i++ i++ i {
			m = sc.nextInt();
			if (i == 0){
				minM = m;
			} else {
				minM = Math.min(minM, m);
			}
			totalM += m;
		} {
			m = sc.nextInt();
			if (i == 0){
				minM = m;
			} else {
				minM = Math.min(minM, m);
			}
			totalM += m;
		} m = sc.nextInt() m sc.nextInt() sc.nextInt sc if (i == 0){
				minM = m;
			} else {
				minM = Math.min(minM, m);
			} i == 0 i 0 {
				minM = m;
			} minM = m minM m {
				minM = Math.min(minM, m);
			} minM = Math.min(minM, m) minM Math.min(minM, m) Math.min Math minM m totalM += m totalM m System.out.println(N + (X-totalM)/minM) System.out.println System.out System System.out N + (X-totalM)/minM N (X-totalM)/minM (X-totalM) X totalM minM 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;
		int minM=0;;
		int totalM = 0;

		for (int i=0; i<N; i++){
			m = sc.nextInt();
			if (i == 0){
				minM = m;
			} else {
				minM = Math.min(minM, m);
			}
			totalM += m;
		}
		System.out.println(N + (X-totalM)/minM);
	}

} 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;
		int minM=0;;
		int totalM = 0;

		for (int i=0; i<N; i++){
			m = sc.nextInt();
			if (i == 0){
				minM = m;
			} else {
				minM = Math.min(minM, m);
			}
			totalM += m;
		}
		System.out.println(N + (X-totalM)/minM);
	}

} 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 m;
		int minM=0;;
		int totalM = 0;

		for (int i=0; i<N; i++){
			m = sc.nextInt();
			if (i == 0){
				minM = m;
			} else {
				minM = Math.min(minM, m);
			}
			totalM += m;
		}
		System.out.println(N + (X-totalM)/minM);
	}

}
