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

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String s = sc.nextLine();
		String[] sh = s.split(" ");
		int n = Integer.parseInt(sh[0]);
		int x = Integer.parseInt(sh[1]);

		List<Integer> list = new ArrayList<Integer>();
		for (int i = 0; i < n; i++) {
			int m = Integer.parseInt(sc.next());
			list.add(m);
			x -= m;
		}
		Collections.sort(list);

		System.out.println(n + (int) (x / list.get(0)));

		sc.close();
	}
} import java.util.ArrayList; ArrayList java.util import java.util.Collections; Collections java.util import java.util.List; List java.util import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String s = sc.nextLine();
		String[] sh = s.split(" ");
		int n = Integer.parseInt(sh[0]);
		int x = Integer.parseInt(sh[1]);

		List<Integer> list = new ArrayList<Integer>();
		for (int i = 0; i < n; i++) {
			int m = Integer.parseInt(sc.next());
			list.add(m);
			x -= m;
		}
		Collections.sort(list);

		System.out.println(n + (int) (x / list.get(0)));

		sc.close();
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String s = sc.nextLine();
		String[] sh = s.split(" ");
		int n = Integer.parseInt(sh[0]);
		int x = Integer.parseInt(sh[1]);

		List<Integer> list = new ArrayList<Integer>();
		for (int i = 0; i < n; i++) {
			int m = Integer.parseInt(sc.next());
			list.add(m);
			x -= m;
		}
		Collections.sort(list);

		System.out.println(n + (int) (x / list.get(0)));

		sc.close();
	} main {
		Scanner sc = new Scanner(System.in);
		String s = sc.nextLine();
		String[] sh = s.split(" ");
		int n = Integer.parseInt(sh[0]);
		int x = Integer.parseInt(sh[1]);

		List<Integer> list = new ArrayList<Integer>();
		for (int i = 0; i < n; i++) {
			int m = Integer.parseInt(sc.next());
			list.add(m);
			x -= m;
		}
		Collections.sort(list);

		System.out.println(n + (int) (x / list.get(0)));

		sc.close();
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String s = sc.nextLine(); s sc.nextLine() sc.nextLine sc String[] sh = s.split(" "); sh s.split(" ") s.split s " " int n = Integer.parseInt(sh[0]); n Integer.parseInt(sh[0]) Integer.parseInt Integer sh[0] sh 0 int x = Integer.parseInt(sh[1]); x Integer.parseInt(sh[1]) Integer.parseInt Integer sh[1] sh 1 List<Integer> list = new ArrayList<Integer>(); list new ArrayList<Integer>() for (int i = 0; i < n; i++) {
			int m = Integer.parseInt(sc.next());
			list.add(m);
			x -= m;
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			int m = Integer.parseInt(sc.next());
			list.add(m);
			x -= m;
		} {
			int m = Integer.parseInt(sc.next());
			list.add(m);
			x -= m;
		} int m = Integer.parseInt(sc.next()); m Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc list.add(m) list.add list m x -= m x m Collections.sort(list) Collections.sort Collections list System.out.println(n + (int) (x / list.get(0))) System.out.println System.out System System.out n + (int) (x / list.get(0)) n (int) (x / list.get(0)) x list.get(0) list.get list 0 sc.close() sc.close sc String[] args args public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String s = sc.nextLine();
		String[] sh = s.split(" ");
		int n = Integer.parseInt(sh[0]);
		int x = Integer.parseInt(sh[1]);

		List<Integer> list = new ArrayList<Integer>();
		for (int i = 0; i < n; i++) {
			int m = Integer.parseInt(sc.next());
			list.add(m);
			x -= m;
		}
		Collections.sort(list);

		System.out.println(n + (int) (x / list.get(0)));

		sc.close();
	}
} public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String s = sc.nextLine();
		String[] sh = s.split(" ");
		int n = Integer.parseInt(sh[0]);
		int x = Integer.parseInt(sh[1]);

		List<Integer> list = new ArrayList<Integer>();
		for (int i = 0; i < n; i++) {
			int m = Integer.parseInt(sc.next());
			list.add(m);
			x -= m;
		}
		Collections.sort(list);

		System.out.println(n + (int) (x / list.get(0)));

		sc.close();
	}
} Main
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String s = sc.nextLine();
		String[] sh = s.split(" ");
		int n = Integer.parseInt(sh[0]);
		int x = Integer.parseInt(sh[1]);

		List<Integer> list = new ArrayList<Integer>();
		for (int i = 0; i < n; i++) {
			int m = Integer.parseInt(sc.next());
			list.add(m);
			x -= m;
		}
		Collections.sort(list);

		System.out.println(n + (int) (x / list.get(0)));

		sc.close();
	}
}