import java.util.Scanner;

public class Main {

	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int X = sc.nextInt();
		int sum = 0;
		int min = 0;
		for (int i = 0; i < N; i++) {
			int input = sc.nextInt();
			sum += input;
			if (i == 0)
				min = input;
			if (min > input)
				min = input;
		}
		int remaining = X - sum;
		System.out.println(remaining / min + N);
		sc.close();
	}
} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int X = sc.nextInt();
		int sum = 0;
		int min = 0;
		for (int i = 0; i < N; i++) {
			int input = sc.nextInt();
			sum += input;
			if (i == 0)
				min = input;
			if (min > input)
				min = input;
		}
		int remaining = X - sum;
		System.out.println(remaining / min + N);
		sc.close();
	}
} Main public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int X = sc.nextInt();
		int sum = 0;
		int min = 0;
		for (int i = 0; i < N; i++) {
			int input = sc.nextInt();
			sum += input;
			if (i == 0)
				min = input;
			if (min > input)
				min = input;
		}
		int remaining = X - sum;
		System.out.println(remaining / min + N);
		sc.close();
	} main {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int X = sc.nextInt();
		int sum = 0;
		int min = 0;
		for (int i = 0; i < N; i++) {
			int input = sc.nextInt();
			sum += input;
			if (i == 0)
				min = input;
			if (min > input)
				min = input;
		}
		int remaining = X - sum;
		System.out.println(remaining / min + N);
		sc.close();
	} 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 sum = 0; sum 0 int min = 0; min 0 for (int i = 0; i < N; i++) {
			int input = sc.nextInt();
			sum += input;
			if (i == 0)
				min = input;
			if (min > input)
				min = input;
		} int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
			int input = sc.nextInt();
			sum += input;
			if (i == 0)
				min = input;
			if (min > input)
				min = input;
		} {
			int input = sc.nextInt();
			sum += input;
			if (i == 0)
				min = input;
			if (min > input)
				min = input;
		} int input = sc.nextInt(); input sc.nextInt() sc.nextInt sc sum += input sum input if (i == 0)
				min = input; i == 0 i 0 min = input min input if (min > input)
				min = input; min > input min input min = input min input int remaining = X - sum; remaining X - sum X sum System.out.println(remaining / min + N) System.out.println System.out System System.out remaining / min + N remaining / min remaining min N sc.close() sc.close sc String[] args args public class Main {

	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int X = sc.nextInt();
		int sum = 0;
		int min = 0;
		for (int i = 0; i < N; i++) {
			int input = sc.nextInt();
			sum += input;
			if (i == 0)
				min = input;
			if (min > input)
				min = input;
		}
		int remaining = X - sum;
		System.out.println(remaining / min + N);
		sc.close();
	}
} public class Main {

	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int X = sc.nextInt();
		int sum = 0;
		int min = 0;
		for (int i = 0; i < N; i++) {
			int input = sc.nextInt();
			sum += input;
			if (i == 0)
				min = input;
			if (min > input)
				min = input;
		}
		int remaining = X - sum;
		System.out.println(remaining / min + N);
		sc.close();
	}
} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int X = sc.nextInt();
		int sum = 0;
		int min = 0;
		for (int i = 0; i < N; i++) {
			int input = sc.nextInt();
			sum += input;
			if (i == 0)
				min = input;
			if (min > input)
				min = input;
		}
		int remaining = X - sum;
		System.out.println(remaining / min + N);
		sc.close();
	}
}