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 array[] = new int[N];
		int msum = 0;
		int mmin = 100000;

		for(int i = 0; i < N; i++) {
			array[i] = sc.nextInt();
			msum += array[i];
			if(mmin > array[i]) {
				mmin = array[i];
			}else {
				mmin = mmin;
			}
		}
		System.out.println((X-msum)/mmin + N);
	}

} 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 array[] = new int[N];
		int msum = 0;
		int mmin = 100000;

		for(int i = 0; i < N; i++) {
			array[i] = sc.nextInt();
			msum += array[i];
			if(mmin > array[i]) {
				mmin = array[i];
			}else {
				mmin = mmin;
			}
		}
		System.out.println((X-msum)/mmin + N);
	}

} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int X = sc.nextInt();
		int array[] = new int[N];
		int msum = 0;
		int mmin = 100000;

		for(int i = 0; i < N; i++) {
			array[i] = sc.nextInt();
			msum += array[i];
			if(mmin > array[i]) {
				mmin = array[i];
			}else {
				mmin = mmin;
			}
		}
		System.out.println((X-msum)/mmin + N);
	} main {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int X = sc.nextInt();
		int array[] = new int[N];
		int msum = 0;
		int mmin = 100000;

		for(int i = 0; i < N; i++) {
			array[i] = sc.nextInt();
			msum += array[i];
			if(mmin > array[i]) {
				mmin = array[i];
			}else {
				mmin = mmin;
			}
		}
		System.out.println((X-msum)/mmin + N);
	} 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 array[] = new int[N]; array new int[N] N int msum = 0; msum 0 int mmin = 100000; mmin 100000 for(int i = 0; i < N; i++) {
			array[i] = sc.nextInt();
			msum += array[i];
			if(mmin > array[i]) {
				mmin = array[i];
			}else {
				mmin = mmin;
			}
		} int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
			array[i] = sc.nextInt();
			msum += array[i];
			if(mmin > array[i]) {
				mmin = array[i];
			}else {
				mmin = mmin;
			}
		} {
			array[i] = sc.nextInt();
			msum += array[i];
			if(mmin > array[i]) {
				mmin = array[i];
			}else {
				mmin = mmin;
			}
		} array[i] = sc.nextInt() array[i] array i sc.nextInt() sc.nextInt sc msum += array[i] msum array[i] array i if(mmin > array[i]) {
				mmin = array[i];
			}else {
				mmin = mmin;
			} mmin > array[i] mmin array[i] array i {
				mmin = array[i];
			} mmin = array[i] mmin array[i] array i {
				mmin = mmin;
			} mmin = mmin mmin mmin System.out.println((X-msum)/mmin + N) System.out.println System.out System System.out (X-msum)/mmin + N (X-msum)/mmin (X-msum) X msum mmin N 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 array[] = new int[N];
		int msum = 0;
		int mmin = 100000;

		for(int i = 0; i < N; i++) {
			array[i] = sc.nextInt();
			msum += array[i];
			if(mmin > array[i]) {
				mmin = array[i];
			}else {
				mmin = mmin;
			}
		}
		System.out.println((X-msum)/mmin + N);
	}

} public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int X = sc.nextInt();
		int array[] = new int[N];
		int msum = 0;
		int mmin = 100000;

		for(int i = 0; i < N; i++) {
			array[i] = sc.nextInt();
			msum += array[i];
			if(mmin > array[i]) {
				mmin = array[i];
			}else {
				mmin = mmin;
			}
		}
		System.out.println((X-msum)/mmin + N);
	}

} 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 array[] = new int[N];
		int msum = 0;
		int mmin = 100000;

		for(int i = 0; i < N; i++) {
			array[i] = sc.nextInt();
			msum += array[i];
			if(mmin > array[i]) {
				mmin = array[i];
			}else {
				mmin = mmin;
			}
		}
		System.out.println((X-msum)/mmin + N);
	}

}
