import java.util.Scanner;

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

		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int x = scan.nextInt();
		int[] mArray = new int[n];
		for (int i = 0; i < n; i++) {
			mArray[i] = scan.nextInt();
		}
		scan.close();

		int mMin = mArray[0];
		int xRest = x;
		for (int i = 0; i < n; i++) {
			xRest = xRest - mArray[i];
			if (mArray[i] < mMin) {
				mMin = mArray[i];
			}
		}
		System.out.println(mArray.length + xRest / mMin);
	}
} import java.util.Scanner; Scanner java.util public class Main {
	static public void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int x = scan.nextInt();
		int[] mArray = new int[n];
		for (int i = 0; i < n; i++) {
			mArray[i] = scan.nextInt();
		}
		scan.close();

		int mMin = mArray[0];
		int xRest = x;
		for (int i = 0; i < n; i++) {
			xRest = xRest - mArray[i];
			if (mArray[i] < mMin) {
				mMin = mArray[i];
			}
		}
		System.out.println(mArray.length + xRest / mMin);
	}
} Main static public void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int x = scan.nextInt();
		int[] mArray = new int[n];
		for (int i = 0; i < n; i++) {
			mArray[i] = scan.nextInt();
		}
		scan.close();

		int mMin = mArray[0];
		int xRest = x;
		for (int i = 0; i < n; i++) {
			xRest = xRest - mArray[i];
			if (mArray[i] < mMin) {
				mMin = mArray[i];
			}
		}
		System.out.println(mArray.length + xRest / mMin);
	} main {

		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int x = scan.nextInt();
		int[] mArray = new int[n];
		for (int i = 0; i < n; i++) {
			mArray[i] = scan.nextInt();
		}
		scan.close();

		int mMin = mArray[0];
		int xRest = x;
		for (int i = 0; i < n; i++) {
			xRest = xRest - mArray[i];
			if (mArray[i] < mMin) {
				mMin = mArray[i];
			}
		}
		System.out.println(mArray.length + xRest / mMin);
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int n = scan.nextInt(); n scan.nextInt() scan.nextInt scan int x = scan.nextInt(); x scan.nextInt() scan.nextInt scan int[] mArray = new int[n]; mArray new int[n] n for (int i = 0; i < n; i++) {
			mArray[i] = scan.nextInt();
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			mArray[i] = scan.nextInt();
		} {
			mArray[i] = scan.nextInt();
		} mArray[i] = scan.nextInt() mArray[i] mArray i scan.nextInt() scan.nextInt scan scan.close() scan.close scan int mMin = mArray[0]; mMin mArray[0] mArray 0 int xRest = x; xRest x for (int i = 0; i < n; i++) {
			xRest = xRest - mArray[i];
			if (mArray[i] < mMin) {
				mMin = mArray[i];
			}
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			xRest = xRest - mArray[i];
			if (mArray[i] < mMin) {
				mMin = mArray[i];
			}
		} {
			xRest = xRest - mArray[i];
			if (mArray[i] < mMin) {
				mMin = mArray[i];
			}
		} xRest = xRest - mArray[i] xRest xRest - mArray[i] xRest mArray[i] mArray i if (mArray[i] < mMin) {
				mMin = mArray[i];
			} mArray[i] < mMin mArray[i] mArray i mMin {
				mMin = mArray[i];
			} mMin = mArray[i] mMin mArray[i] mArray i System.out.println(mArray.length + xRest / mMin) System.out.println System.out System System.out mArray.length + xRest / mMin mArray.length mArray mArray.length xRest / mMin xRest mMin String[] args args public class Main {
	static public void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int x = scan.nextInt();
		int[] mArray = new int[n];
		for (int i = 0; i < n; i++) {
			mArray[i] = scan.nextInt();
		}
		scan.close();

		int mMin = mArray[0];
		int xRest = x;
		for (int i = 0; i < n; i++) {
			xRest = xRest - mArray[i];
			if (mArray[i] < mMin) {
				mMin = mArray[i];
			}
		}
		System.out.println(mArray.length + xRest / mMin);
	}
} public class Main {
	static public void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int x = scan.nextInt();
		int[] mArray = new int[n];
		for (int i = 0; i < n; i++) {
			mArray[i] = scan.nextInt();
		}
		scan.close();

		int mMin = mArray[0];
		int xRest = x;
		for (int i = 0; i < n; i++) {
			xRest = xRest - mArray[i];
			if (mArray[i] < mMin) {
				mMin = mArray[i];
			}
		}
		System.out.println(mArray.length + xRest / mMin);
	}
} Main
import java.util.Scanner;

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

		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int x = scan.nextInt();
		int[] mArray = new int[n];
		for (int i = 0; i < n; i++) {
			mArray[i] = scan.nextInt();
		}
		scan.close();

		int mMin = mArray[0];
		int xRest = x;
		for (int i = 0; i < n; i++) {
			xRest = xRest - mArray[i];
			if (mArray[i] < mMin) {
				mMin = mArray[i];
			}
		}
		System.out.println(mArray.length + xRest / mMin);
	}
}
