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

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		int x = 0;
		ArrayList<Integer> list = new ArrayList<>();

		int N = sc.nextInt();
		int X = sc.nextInt();
		//int X = Integer.parseInt(sc.nextLine());
		for (int index = 1; index <= N; index++) {
			//int m = Integer.parseInt(sc.nextLine());
			int m = sc.nextInt();
			list.add(m);
			X = X - m;
		}
		if (X == 0) {
			System.out.println(N);
			return;
		}
		Collections.sort(list);
		int y = X / (list.get(0));
		System.out.println(N + y);
	}
} 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 sc = new Scanner(System.in);

		int x = 0;
		ArrayList<Integer> list = new ArrayList<>();

		int N = sc.nextInt();
		int X = sc.nextInt();
		//int X = Integer.parseInt(sc.nextLine());
		for (int index = 1; index <= N; index++) {
			//int m = Integer.parseInt(sc.nextLine());
			int m = sc.nextInt();
			list.add(m);
			X = X - m;
		}
		if (X == 0) {
			System.out.println(N);
			return;
		}
		Collections.sort(list);
		int y = X / (list.get(0));
		System.out.println(N + y);
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		int x = 0;
		ArrayList<Integer> list = new ArrayList<>();

		int N = sc.nextInt();
		int X = sc.nextInt();
		//int X = Integer.parseInt(sc.nextLine());
		for (int index = 1; index <= N; index++) {
			//int m = Integer.parseInt(sc.nextLine());
			int m = sc.nextInt();
			list.add(m);
			X = X - m;
		}
		if (X == 0) {
			System.out.println(N);
			return;
		}
		Collections.sort(list);
		int y = X / (list.get(0));
		System.out.println(N + y);
	} main {
		Scanner sc = new Scanner(System.in);

		int x = 0;
		ArrayList<Integer> list = new ArrayList<>();

		int N = sc.nextInt();
		int X = sc.nextInt();
		//int X = Integer.parseInt(sc.nextLine());
		for (int index = 1; index <= N; index++) {
			//int m = Integer.parseInt(sc.nextLine());
			int m = sc.nextInt();
			list.add(m);
			X = X - m;
		}
		if (X == 0) {
			System.out.println(N);
			return;
		}
		Collections.sort(list);
		int y = X / (list.get(0));
		System.out.println(N + y);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int x = 0; x 0 ArrayList<Integer> list = new ArrayList<>(); list new ArrayList<>() int N = sc.nextInt(); N sc.nextInt() sc.nextInt sc int X = sc.nextInt(); X sc.nextInt() sc.nextInt sc for (int index = 1; index <= N; index++) {
			//int m = Integer.parseInt(sc.nextLine());
			int m = sc.nextInt();
			list.add(m);
			X = X - m;
		} int index = 1; int index = 1; index 1 index <= N index N index++ index++ index {
			//int m = Integer.parseInt(sc.nextLine());
			int m = sc.nextInt();
			list.add(m);
			X = X - m;
		} {
			//int m = Integer.parseInt(sc.nextLine());
			int m = sc.nextInt();
			list.add(m);
			X = X - m;
		} int m = sc.nextInt(); m sc.nextInt() sc.nextInt sc list.add(m) list.add list m X = X - m X X - m X m if (X == 0) {
			System.out.println(N);
			return;
		} X == 0 X 0 {
			System.out.println(N);
			return;
		} System.out.println(N) System.out.println System.out System System.out N return; Collections.sort(list) Collections.sort Collections list int y = X / (list.get(0)); y X / (list.get(0)) X (list.get(0)) list.get list 0 System.out.println(N + y) System.out.println System.out System System.out N + y N y String[] args args public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		int x = 0;
		ArrayList<Integer> list = new ArrayList<>();

		int N = sc.nextInt();
		int X = sc.nextInt();
		//int X = Integer.parseInt(sc.nextLine());
		for (int index = 1; index <= N; index++) {
			//int m = Integer.parseInt(sc.nextLine());
			int m = sc.nextInt();
			list.add(m);
			X = X - m;
		}
		if (X == 0) {
			System.out.println(N);
			return;
		}
		Collections.sort(list);
		int y = X / (list.get(0));
		System.out.println(N + y);
	}
} public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		int x = 0;
		ArrayList<Integer> list = new ArrayList<>();

		int N = sc.nextInt();
		int X = sc.nextInt();
		//int X = Integer.parseInt(sc.nextLine());
		for (int index = 1; index <= N; index++) {
			//int m = Integer.parseInt(sc.nextLine());
			int m = sc.nextInt();
			list.add(m);
			X = X - m;
		}
		if (X == 0) {
			System.out.println(N);
			return;
		}
		Collections.sort(list);
		int y = X / (list.get(0));
		System.out.println(N + y);
	}
} Main
import java.util.ArrayList;
import java.util.Collections;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		int x = 0;
		ArrayList<Integer> list = new ArrayList<>();

		int N = sc.nextInt();
		int X = sc.nextInt();
		//int X = Integer.parseInt(sc.nextLine());
		for (int index = 1; index <= N; index++) {
			//int m = Integer.parseInt(sc.nextLine());
			int m = sc.nextInt();
			list.add(m);
			X = X - m;
		}
		if (X == 0) {
			System.out.println(N);
			return;
		}
		Collections.sort(list);
		int y = X / (list.get(0));
		System.out.println(N + y);
	}
}