/*
	submission # - User: herp_sy
	https://atcoder.jp/contests/
*/

import java.util.*;
import java.util.Collections; // sorting use
import java.io.*;
import static java.lang.System.*;

public class Main{
	public static void main(String[] args){
		int n,x;
		ArrayList<Integer> m = new ArrayList<Integer>();
		Scanner sc = new Scanner(System.in);

		n = sc.nextInt();
		x = sc.nextInt();
		for (int i = 0; i < n; ++i){
			m.add(sc.nextInt());
			x -= m.get(i);
		}
		out.println(n + x / Collections.min(m));
	}
} import java.util.*; util.* java import java.util.Collections; // sorting use Collections java.util import java.io.*; io.* java import static java.lang.System.*; import static java.lang.System.*; import static java.lang.System.*; public class Main{
	public static void main(String[] args){
		int n,x;
		ArrayList<Integer> m = new ArrayList<Integer>();
		Scanner sc = new Scanner(System.in);

		n = sc.nextInt();
		x = sc.nextInt();
		for (int i = 0; i < n; ++i){
			m.add(sc.nextInt());
			x -= m.get(i);
		}
		out.println(n + x / Collections.min(m));
	}
} Main public static void main(String[] args){
		int n,x;
		ArrayList<Integer> m = new ArrayList<Integer>();
		Scanner sc = new Scanner(System.in);

		n = sc.nextInt();
		x = sc.nextInt();
		for (int i = 0; i < n; ++i){
			m.add(sc.nextInt());
			x -= m.get(i);
		}
		out.println(n + x / Collections.min(m));
	} main {
		int n,x;
		ArrayList<Integer> m = new ArrayList<Integer>();
		Scanner sc = new Scanner(System.in);

		n = sc.nextInt();
		x = sc.nextInt();
		for (int i = 0; i < n; ++i){
			m.add(sc.nextInt());
			x -= m.get(i);
		}
		out.println(n + x / Collections.min(m));
	} int n n x; x ArrayList<Integer> m = new ArrayList<Integer>(); m new ArrayList<Integer>() Scanner sc = new Scanner(System.in); sc new Scanner(System.in) n = sc.nextInt() n sc.nextInt() sc.nextInt sc x = sc.nextInt() x sc.nextInt() sc.nextInt sc for (int i = 0; i < n; ++i){
			m.add(sc.nextInt());
			x -= m.get(i);
		} int i = 0; int i = 0; i 0 i < n i n ++i ++i i {
			m.add(sc.nextInt());
			x -= m.get(i);
		} {
			m.add(sc.nextInt());
			x -= m.get(i);
		} m.add(sc.nextInt()) m.add m sc.nextInt() sc.nextInt sc x -= m.get(i) x m.get(i) m.get m i out.println(n + x / Collections.min(m)) out.println out n + x / Collections.min(m) n x / Collections.min(m) x Collections.min(m) Collections.min Collections m String[] args args public class Main{
	public static void main(String[] args){
		int n,x;
		ArrayList<Integer> m = new ArrayList<Integer>();
		Scanner sc = new Scanner(System.in);

		n = sc.nextInt();
		x = sc.nextInt();
		for (int i = 0; i < n; ++i){
			m.add(sc.nextInt());
			x -= m.get(i);
		}
		out.println(n + x / Collections.min(m));
	}
} public class Main{
	public static void main(String[] args){
		int n,x;
		ArrayList<Integer> m = new ArrayList<Integer>();
		Scanner sc = new Scanner(System.in);

		n = sc.nextInt();
		x = sc.nextInt();
		for (int i = 0; i < n; ++i){
			m.add(sc.nextInt());
			x -= m.get(i);
		}
		out.println(n + x / Collections.min(m));
	}
} Main
/*
	submission # - User: herp_sy
	https://atcoder.jp/contests/
*/

import java.util.*;
import java.util.Collections; // sorting use
import java.io.*;
import static java.lang.System.*;

public class Main{
	public static void main(String[] args){
		int n,x;
		ArrayList<Integer> m = new ArrayList<Integer>();
		Scanner sc = new Scanner(System.in);

		n = sc.nextInt();
		x = sc.nextInt();
		for (int i = 0; i < n; ++i){
			m.add(sc.nextInt());
			x -= m.get(i);
		}
		out.println(n + x / Collections.min(m));
	}
}
