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[] = new int[N];
		int sum = 0;

		for (int i = 0; i < N; i++) {
			m[i] = sc.nextInt();
			sum += m[i];
		}

		int min = m[0];

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

		for (int i = 0; i < N; i++) {
			m[i] = sc.nextInt();
			sum += m[i];
		}

		int min = m[0];

		for (int i = 0; i < m.length; i++) {
			int tmp = m[i];
			if (tmp < min) {
				min = tmp;
			}
		}
		System.out.println(N + (X - sum)/min);
	}
} 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 sum = 0;

		for (int i = 0; i < N; i++) {
			m[i] = sc.nextInt();
			sum += m[i];
		}

		int min = m[0];

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

		for (int i = 0; i < N; i++) {
			m[i] = sc.nextInt();
			sum += m[i];
		}

		int min = m[0];

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

		for (int i = 0; i < N; i++) {
			m[i] = sc.nextInt();
			sum += m[i];
		}

		int min = m[0];

		for (int i = 0; i < m.length; i++) {
			int tmp = m[i];
			if (tmp < min) {
				min = tmp;
			}
		}
		System.out.println(N + (X - sum)/min);
	}
} 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];
		int sum = 0;

		for (int i = 0; i < N; i++) {
			m[i] = sc.nextInt();
			sum += m[i];
		}

		int min = m[0];

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

		for (int i = 0; i < N; i++) {
			m[i] = sc.nextInt();
			sum += m[i];
		}

		int min = m[0];

		for (int i = 0; i < m.length; i++) {
			int tmp = m[i];
			if (tmp < min) {
				min = tmp;
			}
		}
		System.out.println(N + (X - sum)/min);
	}
}
