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 N = Integer.parseInt(sc.next());
		int X = Integer.parseInt(sc.next());
		ArrayList<Integer> list = new ArrayList<>();
		int sum = 0;
		for(int i = 0; i< N; i++) {
			list.add(Integer.parseInt(sc.next()));
			sum += list.get(i);
		}
		sc.close();

		//リストを昇順にソート
		Collections.sort(list);

		int plus = (X - sum) / list.get(0);
		int ans = N + plus;
		System.out.println(ans);

	}

} 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 N = Integer.parseInt(sc.next());
		int X = Integer.parseInt(sc.next());
		ArrayList<Integer> list = new ArrayList<>();
		int sum = 0;
		for(int i = 0; i< N; i++) {
			list.add(Integer.parseInt(sc.next()));
			sum += list.get(i);
		}
		sc.close();

		//リストを昇順にソート
		Collections.sort(list);

		int plus = (X - sum) / list.get(0);
		int ans = N + plus;
		System.out.println(ans);

	}

} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = Integer.parseInt(sc.next());
		int X = Integer.parseInt(sc.next());
		ArrayList<Integer> list = new ArrayList<>();
		int sum = 0;
		for(int i = 0; i< N; i++) {
			list.add(Integer.parseInt(sc.next()));
			sum += list.get(i);
		}
		sc.close();

		//リストを昇順にソート
		Collections.sort(list);

		int plus = (X - sum) / list.get(0);
		int ans = N + plus;
		System.out.println(ans);

	} main {
		Scanner sc = new Scanner(System.in);
		int N = Integer.parseInt(sc.next());
		int X = Integer.parseInt(sc.next());
		ArrayList<Integer> list = new ArrayList<>();
		int sum = 0;
		for(int i = 0; i< N; i++) {
			list.add(Integer.parseInt(sc.next()));
			sum += list.get(i);
		}
		sc.close();

		//リストを昇順にソート
		Collections.sort(list);

		int plus = (X - sum) / list.get(0);
		int ans = N + plus;
		System.out.println(ans);

	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int N = Integer.parseInt(sc.next()); N Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int X = Integer.parseInt(sc.next()); X Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc ArrayList<Integer> list = new ArrayList<>(); list new ArrayList<>() int sum = 0; sum 0 for(int i = 0; i< N; i++) {
			list.add(Integer.parseInt(sc.next()));
			sum += list.get(i);
		} int i = 0; int i = 0; i 0 i< N i N i++ i++ i {
			list.add(Integer.parseInt(sc.next()));
			sum += list.get(i);
		} {
			list.add(Integer.parseInt(sc.next()));
			sum += list.get(i);
		} list.add(Integer.parseInt(sc.next())) list.add list Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc sum += list.get(i) sum list.get(i) list.get list i sc.close() sc.close sc Collections.sort(list) Collections.sort Collections list int plus = (X - sum) / list.get(0); plus (X - sum) / list.get(0) (X - sum) X sum list.get(0) list.get list 0 int ans = N + plus; ans N + plus N plus System.out.println(ans) System.out.println System.out System System.out ans String[] args args public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = Integer.parseInt(sc.next());
		int X = Integer.parseInt(sc.next());
		ArrayList<Integer> list = new ArrayList<>();
		int sum = 0;
		for(int i = 0; i< N; i++) {
			list.add(Integer.parseInt(sc.next()));
			sum += list.get(i);
		}
		sc.close();

		//リストを昇順にソート
		Collections.sort(list);

		int plus = (X - sum) / list.get(0);
		int ans = N + plus;
		System.out.println(ans);

	}

} public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = Integer.parseInt(sc.next());
		int X = Integer.parseInt(sc.next());
		ArrayList<Integer> list = new ArrayList<>();
		int sum = 0;
		for(int i = 0; i< N; i++) {
			list.add(Integer.parseInt(sc.next()));
			sum += list.get(i);
		}
		sc.close();

		//リストを昇順にソート
		Collections.sort(list);

		int plus = (X - sum) / list.get(0);
		int ans = N + plus;
		System.out.println(ans);

	}

} 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 N = Integer.parseInt(sc.next());
		int X = Integer.parseInt(sc.next());
		ArrayList<Integer> list = new ArrayList<>();
		int sum = 0;
		for(int i = 0; i< N; i++) {
			list.add(Integer.parseInt(sc.next()));
			sum += list.get(i);
		}
		sc.close();

		//リストを昇順にソート
		Collections.sort(list);

		int plus = (X - sum) / list.get(0);
		int ans = N + plus;
		System.out.println(ans);

	}

}