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 minM = Integer.MAX_VALUE;
		int sumM = 0;
		while (sc.hasNextInt()) {
			int m = sc.nextInt();
			if (m < minM) {
				minM = m;
			}
			sumM += m;
		}

		System.out.println(N + ((X - sumM) / 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 minM = Integer.MAX_VALUE;
		int sumM = 0;
		while (sc.hasNextInt()) {
			int m = sc.nextInt();
			if (m < minM) {
				minM = m;
			}
			sumM += m;
		}

		System.out.println(N + ((X - sumM) / minM));
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int X = sc.nextInt();
		int minM = Integer.MAX_VALUE;
		int sumM = 0;
		while (sc.hasNextInt()) {
			int m = sc.nextInt();
			if (m < minM) {
				minM = m;
			}
			sumM += m;
		}

		System.out.println(N + ((X - sumM) / minM));
	} main {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int X = sc.nextInt();
		int minM = Integer.MAX_VALUE;
		int sumM = 0;
		while (sc.hasNextInt()) {
			int m = sc.nextInt();
			if (m < minM) {
				minM = m;
			}
			sumM += m;
		}

		System.out.println(N + ((X - sumM) / 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 minM = Integer.MAX_VALUE; minM Integer.MAX_VALUE Integer Integer.MAX_VALUE int sumM = 0; sumM 0 while (sc.hasNextInt()) {
			int m = sc.nextInt();
			if (m < minM) {
				minM = m;
			}
			sumM += m;
		} sc.hasNextInt() sc.hasNextInt sc {
			int m = sc.nextInt();
			if (m < minM) {
				minM = m;
			}
			sumM += m;
		} int m = sc.nextInt(); m sc.nextInt() sc.nextInt sc if (m < minM) {
				minM = m;
			} m < minM m minM {
				minM = m;
			} minM = m minM m sumM += m sumM m System.out.println(N + ((X - sumM) / minM)) System.out.println System.out System System.out N + ((X - sumM) / minM) N ((X - sumM) / minM) (X - sumM) X sumM 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 minM = Integer.MAX_VALUE;
		int sumM = 0;
		while (sc.hasNextInt()) {
			int m = sc.nextInt();
			if (m < minM) {
				minM = m;
			}
			sumM += m;
		}

		System.out.println(N + ((X - sumM) / 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 minM = Integer.MAX_VALUE;
		int sumM = 0;
		while (sc.hasNextInt()) {
			int m = sc.nextInt();
			if (m < minM) {
				minM = m;
			}
			sumM += m;
		}

		System.out.println(N + ((X - sumM) / 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 minM = Integer.MAX_VALUE;
		int sumM = 0;
		while (sc.hasNextInt()) {
			int m = sc.nextInt();
			if (m < minM) {
				minM = m;
			}
			sumM += m;
		}

		System.out.println(N + ((X - sumM) / minM));
	}
}