
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 min = Integer.MAX_VALUE;
		for(int i = 0; i < n; i++) {
			int tmp = sc.nextInt();
			x -= tmp;
			min = Math.min(min, tmp);
		}
		int ans = n + x / min;
		System.out.println(ans);
	}

} 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 min = Integer.MAX_VALUE;
		for(int i = 0; i < n; i++) {
			int tmp = sc.nextInt();
			x -= tmp;
			min = Math.min(min, tmp);
		}
		int ans = n + x / min;
		System.out.println(ans);
	}

} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int x = sc.nextInt();
		int min = Integer.MAX_VALUE;
		for(int i = 0; i < n; i++) {
			int tmp = sc.nextInt();
			x -= tmp;
			min = Math.min(min, tmp);
		}
		int ans = n + x / min;
		System.out.println(ans);
	} main {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int x = sc.nextInt();
		int min = Integer.MAX_VALUE;
		for(int i = 0; i < n; i++) {
			int tmp = sc.nextInt();
			x -= tmp;
			min = Math.min(min, tmp);
		}
		int ans = n + x / min;
		System.out.println(ans);
	} 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 min = Integer.MAX_VALUE; min Integer.MAX_VALUE Integer Integer.MAX_VALUE for(int i = 0; i < n; i++) {
			int tmp = sc.nextInt();
			x -= tmp;
			min = Math.min(min, tmp);
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			int tmp = sc.nextInt();
			x -= tmp;
			min = Math.min(min, tmp);
		} {
			int tmp = sc.nextInt();
			x -= tmp;
			min = Math.min(min, tmp);
		} int tmp = sc.nextInt(); tmp sc.nextInt() sc.nextInt sc x -= tmp x tmp min = Math.min(min, tmp) min Math.min(min, tmp) Math.min Math min tmp int ans = n + x / min; ans n + x / min n x / min x min 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 = sc.nextInt();
		int x = sc.nextInt();
		int min = Integer.MAX_VALUE;
		for(int i = 0; i < n; i++) {
			int tmp = sc.nextInt();
			x -= tmp;
			min = Math.min(min, tmp);
		}
		int ans = n + x / min;
		System.out.println(ans);
	}

} public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int x = sc.nextInt();
		int min = Integer.MAX_VALUE;
		for(int i = 0; i < n; i++) {
			int tmp = sc.nextInt();
			x -= tmp;
			min = Math.min(min, tmp);
		}
		int ans = n + x / min;
		System.out.println(ans);
	}

} 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 min = Integer.MAX_VALUE;
		for(int i = 0; i < n; i++) {
			int tmp = sc.nextInt();
			x -= tmp;
			min = Math.min(min, tmp);
		}
		int ans = n + x / min;
		System.out.println(ans);
	}

}
