import java.util.Arrays;
import java.util.Scanner;

public class Main {

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

		int N = sc.nextInt();
		int X = sc.nextInt();

		int[] unko = new int[N];

		int sum =0;

		for(int i=0;i<N;i++) {
			unko[i] = sc.nextInt();
			sum += unko[i];
		}

		Arrays.sort(unko);

		int result = N;

		int nokori = X - sum;

		result += ( nokori / unko[0]);

		System.out.println(result);
	}

} import java.util.Arrays; Arrays 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 = sc.nextInt();
		int X = sc.nextInt();

		int[] unko = new int[N];

		int sum =0;

		for(int i=0;i<N;i++) {
			unko[i] = sc.nextInt();
			sum += unko[i];
		}

		Arrays.sort(unko);

		int result = N;

		int nokori = X - sum;

		result += ( nokori / unko[0]);

		System.out.println(result);
	}

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

		int N = sc.nextInt();
		int X = sc.nextInt();

		int[] unko = new int[N];

		int sum =0;

		for(int i=0;i<N;i++) {
			unko[i] = sc.nextInt();
			sum += unko[i];
		}

		Arrays.sort(unko);

		int result = N;

		int nokori = X - sum;

		result += ( nokori / unko[0]);

		System.out.println(result);
	} main {
		Scanner sc = new Scanner(System.in);

		int N = sc.nextInt();
		int X = sc.nextInt();

		int[] unko = new int[N];

		int sum =0;

		for(int i=0;i<N;i++) {
			unko[i] = sc.nextInt();
			sum += unko[i];
		}

		Arrays.sort(unko);

		int result = N;

		int nokori = X - sum;

		result += ( nokori / unko[0]);

		System.out.println(result);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int N = sc.nextInt(); N sc.nextInt() sc.nextInt sc int X = sc.nextInt(); X sc.nextInt() sc.nextInt sc int[] unko = new int[N]; unko new int[N] N int sum =0; sum 0 for(int i=0;i<N;i++) {
			unko[i] = sc.nextInt();
			sum += unko[i];
		} int i=0; int i=0; i 0 i<N i N i++ i++ i {
			unko[i] = sc.nextInt();
			sum += unko[i];
		} {
			unko[i] = sc.nextInt();
			sum += unko[i];
		} unko[i] = sc.nextInt() unko[i] unko i sc.nextInt() sc.nextInt sc sum += unko[i] sum unko[i] unko i Arrays.sort(unko) Arrays.sort Arrays unko int result = N; result N int nokori = X - sum; nokori X - sum X sum result += ( nokori / unko[0]) result ( nokori / unko[0]) nokori unko[0] unko 0 System.out.println(result) System.out.println System.out System System.out result String[] args args public class Main {

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

		int N = sc.nextInt();
		int X = sc.nextInt();

		int[] unko = new int[N];

		int sum =0;

		for(int i=0;i<N;i++) {
			unko[i] = sc.nextInt();
			sum += unko[i];
		}

		Arrays.sort(unko);

		int result = N;

		int nokori = X - sum;

		result += ( nokori / unko[0]);

		System.out.println(result);
	}

} public class Main {

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

		int N = sc.nextInt();
		int X = sc.nextInt();

		int[] unko = new int[N];

		int sum =0;

		for(int i=0;i<N;i++) {
			unko[i] = sc.nextInt();
			sum += unko[i];
		}

		Arrays.sort(unko);

		int result = N;

		int nokori = X - sum;

		result += ( nokori / unko[0]);

		System.out.println(result);
	}

} Main
import java.util.Arrays;
import java.util.Scanner;

public class Main {

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

		int N = sc.nextInt();
		int X = sc.nextInt();

		int[] unko = new int[N];

		int sum =0;

		for(int i=0;i<N;i++) {
			unko[i] = sc.nextInt();
			sum += unko[i];
		}

		Arrays.sort(unko);

		int result = N;

		int nokori = X - sum;

		result += ( nokori / unko[0]);

		System.out.println(result);
	}

}
