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[] nums = new int[n];
		int sum = 0;
		int min = 10000;
		for(int i = 0; i < n; i++) {
			nums[i] = sc.nextInt();
			sum += nums[i];

			min = min > nums[i] ? nums[i] : min;
		}

		int cnt = 0;
		x -= sum;
		cnt += n;
		cnt += (x / min);

		System.out.print(cnt);
	}
} 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[] nums = new int[n];
		int sum = 0;
		int min = 10000;
		for(int i = 0; i < n; i++) {
			nums[i] = sc.nextInt();
			sum += nums[i];

			min = min > nums[i] ? nums[i] : min;
		}

		int cnt = 0;
		x -= sum;
		cnt += n;
		cnt += (x / min);

		System.out.print(cnt);
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int x = sc.nextInt();
		int[] nums = new int[n];
		int sum = 0;
		int min = 10000;
		for(int i = 0; i < n; i++) {
			nums[i] = sc.nextInt();
			sum += nums[i];

			min = min > nums[i] ? nums[i] : min;
		}

		int cnt = 0;
		x -= sum;
		cnt += n;
		cnt += (x / min);

		System.out.print(cnt);
	} main {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int x = sc.nextInt();
		int[] nums = new int[n];
		int sum = 0;
		int min = 10000;
		for(int i = 0; i < n; i++) {
			nums[i] = sc.nextInt();
			sum += nums[i];

			min = min > nums[i] ? nums[i] : min;
		}

		int cnt = 0;
		x -= sum;
		cnt += n;
		cnt += (x / min);

		System.out.print(cnt);
	} 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[] nums = new int[n]; nums new int[n] n int sum = 0; sum 0 int min = 10000; min 10000 for(int i = 0; i < n; i++) {
			nums[i] = sc.nextInt();
			sum += nums[i];

			min = min > nums[i] ? nums[i] : min;
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			nums[i] = sc.nextInt();
			sum += nums[i];

			min = min > nums[i] ? nums[i] : min;
		} {
			nums[i] = sc.nextInt();
			sum += nums[i];

			min = min > nums[i] ? nums[i] : min;
		} nums[i] = sc.nextInt() nums[i] nums i sc.nextInt() sc.nextInt sc sum += nums[i] sum nums[i] nums i min = min > nums[i] ? nums[i] : min min min > nums[i] ? nums[i] : min min > nums[i] min nums[i] nums i nums[i] nums i min int cnt = 0; cnt 0 x -= sum x sum cnt += n cnt n cnt += (x / min) cnt (x / min) x min System.out.print(cnt) System.out.print System.out System System.out cnt 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[] nums = new int[n];
		int sum = 0;
		int min = 10000;
		for(int i = 0; i < n; i++) {
			nums[i] = sc.nextInt();
			sum += nums[i];

			min = min > nums[i] ? nums[i] : min;
		}

		int cnt = 0;
		x -= sum;
		cnt += n;
		cnt += (x / min);

		System.out.print(cnt);
	}
} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int x = sc.nextInt();
		int[] nums = new int[n];
		int sum = 0;
		int min = 10000;
		for(int i = 0; i < n; i++) {
			nums[i] = sc.nextInt();
			sum += nums[i];

			min = min > nums[i] ? nums[i] : min;
		}

		int cnt = 0;
		x -= sum;
		cnt += n;
		cnt += (x / min);

		System.out.print(cnt);
	}
} Main
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[] nums = new int[n];
		int sum = 0;
		int min = 10000;
		for(int i = 0; i < n; i++) {
			nums[i] = sc.nextInt();
			sum += nums[i];

			min = min > nums[i] ? nums[i] : min;
		}

		int cnt = 0;
		x -= sum;
		cnt += n;
		cnt += (x / min);

		System.out.print(cnt);
	}
}
