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[] m = new int[n];
		int min = 0;
		int sum = 0;
		m[0] = sc.nextInt();
		min = m[0];
		sum = m[0];
		for(int i=1; i<n; i++) {
			m[i] = sc.nextInt();
			min = min<m[i]?min:m[i];
			sum = sum + m[i];
		}
		
		int sub = x - sum;
		int count = sub/min;
		System.out.println(count + n);
		
		
	}

} 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[] m = new int[n];
		int min = 0;
		int sum = 0;
		m[0] = sc.nextInt();
		min = m[0];
		sum = m[0];
		for(int i=1; i<n; i++) {
			m[i] = sc.nextInt();
			min = min<m[i]?min:m[i];
			sum = sum + m[i];
		}
		
		int sub = x - sum;
		int count = sub/min;
		System.out.println(count + n);
		
		
	}

} Main public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int x = sc.nextInt();
		int[] m = new int[n];
		int min = 0;
		int sum = 0;
		m[0] = sc.nextInt();
		min = m[0];
		sum = m[0];
		for(int i=1; i<n; i++) {
			m[i] = sc.nextInt();
			min = min<m[i]?min:m[i];
			sum = sum + m[i];
		}
		
		int sub = x - sum;
		int count = sub/min;
		System.out.println(count + n);
		
		
	} main {

		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int x = sc.nextInt();
		int[] m = new int[n];
		int min = 0;
		int sum = 0;
		m[0] = sc.nextInt();
		min = m[0];
		sum = m[0];
		for(int i=1; i<n; i++) {
			m[i] = sc.nextInt();
			min = min<m[i]?min:m[i];
			sum = sum + m[i];
		}
		
		int sub = x - sum;
		int count = sub/min;
		System.out.println(count + n);
		
		
	} 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[] m = new int[n]; m new int[n] n int min = 0; min 0 int sum = 0; sum 0 m[0] = sc.nextInt() m[0] m 0 sc.nextInt() sc.nextInt sc min = m[0] min m[0] m 0 sum = m[0] sum m[0] m 0 for(int i=1; i<n; i++) {
			m[i] = sc.nextInt();
			min = min<m[i]?min:m[i];
			sum = sum + m[i];
		} int i=1; int i=1; i 1 i<n i n i++ i++ i {
			m[i] = sc.nextInt();
			min = min<m[i]?min:m[i];
			sum = sum + m[i];
		} {
			m[i] = sc.nextInt();
			min = min<m[i]?min:m[i];
			sum = sum + m[i];
		} m[i] = sc.nextInt() m[i] m i sc.nextInt() sc.nextInt sc min = min<m[i]?min:m[i] min min<m[i]?min:m[i] min<m[i] min m[i] m i min m[i] m i sum = sum + m[i] sum sum + m[i] sum m[i] m i int sub = x - sum; sub x - sum x sum int count = sub/min; count sub/min sub min System.out.println(count + n) System.out.println System.out System System.out count + n count n 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[] m = new int[n];
		int min = 0;
		int sum = 0;
		m[0] = sc.nextInt();
		min = m[0];
		sum = m[0];
		for(int i=1; i<n; i++) {
			m[i] = sc.nextInt();
			min = min<m[i]?min:m[i];
			sum = sum + m[i];
		}
		
		int sub = x - sum;
		int count = sub/min;
		System.out.println(count + n);
		
		
	}

} public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int x = sc.nextInt();
		int[] m = new int[n];
		int min = 0;
		int sum = 0;
		m[0] = sc.nextInt();
		min = m[0];
		sum = m[0];
		for(int i=1; i<n; i++) {
			m[i] = sc.nextInt();
			min = min<m[i]?min:m[i];
			sum = sum + m[i];
		}
		
		int sub = x - sum;
		int count = sub/min;
		System.out.println(count + n);
		
		
	}

} 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[] m = new int[n];
		int min = 0;
		int sum = 0;
		m[0] = sc.nextInt();
		min = m[0];
		sum = m[0];
		for(int i=1; i<n; i++) {
			m[i] = sc.nextInt();
			min = min<m[i]?min:m[i];
			sum = sum + m[i];
		}
		
		int sub = x - sum;
		int count = sub/min;
		System.out.println(count + n);
		
		
	}

}
