import java.util.ArrayList;
import java.util.Collections;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int count = 0;
		//ドーナツの種類
		int N = scanner.nextInt();
		//お菓子の素の総量
		int X = scanner.nextInt();

		//お菓子の素m_iグラム
		ArrayList<Integer> list = new ArrayList<>();
		for (int i = 0; i < N; i++) {
			int m = scanner.nextInt();
			list.add(m);

			//Xの残りを求める
			X -= m;
		}

		Collections.sort(list);
		//お菓子の素が一番必要なものを求める
		int max = list.get(N-1);

		//お菓子の素が一番必要ないものを求める
		int min = list.get(0);

		//System.out.println("max：" + max);
		//System.out.println("min：" + min);
		//System.out.println("Xの残り：" + X);

		for (int x = 0; x <= X/min; x++) {
			//System.out.println(min + "*" + x + "：" + min * x);
			//System.out.println("x：" + x);
			count = x;
			if (min * x > X) {
				break;
			}
		}
		count += N;
		System.out.println(count);
	}
} import java.util.ArrayList; ArrayList java.util import java.util.Collections; Collections java.util import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int count = 0;
		//ドーナツの種類
		int N = scanner.nextInt();
		//お菓子の素の総量
		int X = scanner.nextInt();

		//お菓子の素m_iグラム
		ArrayList<Integer> list = new ArrayList<>();
		for (int i = 0; i < N; i++) {
			int m = scanner.nextInt();
			list.add(m);

			//Xの残りを求める
			X -= m;
		}

		Collections.sort(list);
		//お菓子の素が一番必要なものを求める
		int max = list.get(N-1);

		//お菓子の素が一番必要ないものを求める
		int min = list.get(0);

		//System.out.println("max：" + max);
		//System.out.println("min：" + min);
		//System.out.println("Xの残り：" + X);

		for (int x = 0; x <= X/min; x++) {
			//System.out.println(min + "*" + x + "：" + min * x);
			//System.out.println("x：" + x);
			count = x;
			if (min * x > X) {
				break;
			}
		}
		count += N;
		System.out.println(count);
	}
} Main public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int count = 0;
		//ドーナツの種類
		int N = scanner.nextInt();
		//お菓子の素の総量
		int X = scanner.nextInt();

		//お菓子の素m_iグラム
		ArrayList<Integer> list = new ArrayList<>();
		for (int i = 0; i < N; i++) {
			int m = scanner.nextInt();
			list.add(m);

			//Xの残りを求める
			X -= m;
		}

		Collections.sort(list);
		//お菓子の素が一番必要なものを求める
		int max = list.get(N-1);

		//お菓子の素が一番必要ないものを求める
		int min = list.get(0);

		//System.out.println("max：" + max);
		//System.out.println("min：" + min);
		//System.out.println("Xの残り：" + X);

		for (int x = 0; x <= X/min; x++) {
			//System.out.println(min + "*" + x + "：" + min * x);
			//System.out.println("x：" + x);
			count = x;
			if (min * x > X) {
				break;
			}
		}
		count += N;
		System.out.println(count);
	} main {
		Scanner scanner = new Scanner(System.in);
		int count = 0;
		//ドーナツの種類
		int N = scanner.nextInt();
		//お菓子の素の総量
		int X = scanner.nextInt();

		//お菓子の素m_iグラム
		ArrayList<Integer> list = new ArrayList<>();
		for (int i = 0; i < N; i++) {
			int m = scanner.nextInt();
			list.add(m);

			//Xの残りを求める
			X -= m;
		}

		Collections.sort(list);
		//お菓子の素が一番必要なものを求める
		int max = list.get(N-1);

		//お菓子の素が一番必要ないものを求める
		int min = list.get(0);

		//System.out.println("max：" + max);
		//System.out.println("min：" + min);
		//System.out.println("Xの残り：" + X);

		for (int x = 0; x <= X/min; x++) {
			//System.out.println(min + "*" + x + "：" + min * x);
			//System.out.println("x：" + x);
			count = x;
			if (min * x > X) {
				break;
			}
		}
		count += N;
		System.out.println(count);
	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int count = 0; count 0 int N = scanner.nextInt(); N scanner.nextInt() scanner.nextInt scanner int X = scanner.nextInt(); X scanner.nextInt() scanner.nextInt scanner ArrayList<Integer> list = new ArrayList<>(); list new ArrayList<>() for (int i = 0; i < N; i++) {
			int m = scanner.nextInt();
			list.add(m);

			//Xの残りを求める
			X -= m;
		} int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
			int m = scanner.nextInt();
			list.add(m);

			//Xの残りを求める
			X -= m;
		} {
			int m = scanner.nextInt();
			list.add(m);

			//Xの残りを求める
			X -= m;
		} int m = scanner.nextInt(); m scanner.nextInt() scanner.nextInt scanner list.add(m) list.add list m X -= m X m Collections.sort(list) Collections.sort Collections list int max = list.get(N-1); max list.get(N-1) list.get list N-1 N 1 int min = list.get(0); min list.get(0) list.get list 0 for (int x = 0; x <= X/min; x++) {
			//System.out.println(min + "*" + x + "：" + min * x);
			//System.out.println("x：" + x);
			count = x;
			if (min * x > X) {
				break;
			}
		} int x = 0; int x = 0; x 0 x <= X/min x X/min X min x++ x++ x {
			//System.out.println(min + "*" + x + "：" + min * x);
			//System.out.println("x：" + x);
			count = x;
			if (min * x > X) {
				break;
			}
		} {
			//System.out.println(min + "*" + x + "：" + min * x);
			//System.out.println("x：" + x);
			count = x;
			if (min * x > X) {
				break;
			}
		} count = x count x if (min * x > X) {
				break;
			} min * x > X min * x min x X {
				break;
			} break; count += N count N System.out.println(count) System.out.println System.out System System.out count String[] args args public class Main {

	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int count = 0;
		//ドーナツの種類
		int N = scanner.nextInt();
		//お菓子の素の総量
		int X = scanner.nextInt();

		//お菓子の素m_iグラム
		ArrayList<Integer> list = new ArrayList<>();
		for (int i = 0; i < N; i++) {
			int m = scanner.nextInt();
			list.add(m);

			//Xの残りを求める
			X -= m;
		}

		Collections.sort(list);
		//お菓子の素が一番必要なものを求める
		int max = list.get(N-1);

		//お菓子の素が一番必要ないものを求める
		int min = list.get(0);

		//System.out.println("max：" + max);
		//System.out.println("min：" + min);
		//System.out.println("Xの残り：" + X);

		for (int x = 0; x <= X/min; x++) {
			//System.out.println(min + "*" + x + "：" + min * x);
			//System.out.println("x：" + x);
			count = x;
			if (min * x > X) {
				break;
			}
		}
		count += N;
		System.out.println(count);
	}
} public class Main {

	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int count = 0;
		//ドーナツの種類
		int N = scanner.nextInt();
		//お菓子の素の総量
		int X = scanner.nextInt();

		//お菓子の素m_iグラム
		ArrayList<Integer> list = new ArrayList<>();
		for (int i = 0; i < N; i++) {
			int m = scanner.nextInt();
			list.add(m);

			//Xの残りを求める
			X -= m;
		}

		Collections.sort(list);
		//お菓子の素が一番必要なものを求める
		int max = list.get(N-1);

		//お菓子の素が一番必要ないものを求める
		int min = list.get(0);

		//System.out.println("max：" + max);
		//System.out.println("min：" + min);
		//System.out.println("Xの残り：" + X);

		for (int x = 0; x <= X/min; x++) {
			//System.out.println(min + "*" + x + "：" + min * x);
			//System.out.println("x：" + x);
			count = x;
			if (min * x > X) {
				break;
			}
		}
		count += N;
		System.out.println(count);
	}
} Main
import java.util.ArrayList;
import java.util.Collections;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int count = 0;
		//ドーナツの種類
		int N = scanner.nextInt();
		//お菓子の素の総量
		int X = scanner.nextInt();

		//お菓子の素m_iグラム
		ArrayList<Integer> list = new ArrayList<>();
		for (int i = 0; i < N; i++) {
			int m = scanner.nextInt();
			list.add(m);

			//Xの残りを求める
			X -= m;
		}

		Collections.sort(list);
		//お菓子の素が一番必要なものを求める
		int max = list.get(N-1);

		//お菓子の素が一番必要ないものを求める
		int min = list.get(0);

		//System.out.println("max：" + max);
		//System.out.println("min：" + min);
		//System.out.println("Xの残り：" + X);

		for (int x = 0; x <= X/min; x++) {
			//System.out.println(min + "*" + x + "：" + min * x);
			//System.out.println("x：" + x);
			count = x;
			if (min * x > X) {
				break;
			}
		}
		count += N;
		System.out.println(count);
	}
}