
import java.sql.Array;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashSet;
import java.util.List;
import java.util.Scanner;
import java.util.Set;

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

		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int x = scan.nextInt();
		int[] list = new int[n];
		int sum = 0;
		int min = Integer.MAX_VALUE;
		for (int i = 0; i < list.length; i++) {
			list[i] = scan.nextInt();
			sum += list[i];
			min = Math.min(min, list[i]);
		}
		
		int cnt = (x - sum) / min;
		System.out.println(cnt + n);
		
	}
} import java.sql.Array; Array java.sql import java.util.ArrayList; ArrayList java.util import java.util.Arrays; Arrays java.util import java.util.HashSet; HashSet java.util import java.util.List; List java.util import java.util.Scanner; Scanner java.util import java.util.Set; Set java.util public class Main {
	public static void main(String[] args) {

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

		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int x = scan.nextInt();
		int[] list = new int[n];
		int sum = 0;
		int min = Integer.MAX_VALUE;
		for (int i = 0; i < list.length; i++) {
			list[i] = scan.nextInt();
			sum += list[i];
			min = Math.min(min, list[i]);
		}
		
		int cnt = (x - sum) / min;
		System.out.println(cnt + n);
		
	} main {

		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int x = scan.nextInt();
		int[] list = new int[n];
		int sum = 0;
		int min = Integer.MAX_VALUE;
		for (int i = 0; i < list.length; i++) {
			list[i] = scan.nextInt();
			sum += list[i];
			min = Math.min(min, list[i]);
		}
		
		int cnt = (x - sum) / min;
		System.out.println(cnt + n);
		
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int n = scan.nextInt(); n scan.nextInt() scan.nextInt scan int x = scan.nextInt(); x scan.nextInt() scan.nextInt scan int[] list = new int[n]; list new int[n] n int sum = 0; sum 0 int min = Integer.MAX_VALUE; min Integer.MAX_VALUE Integer Integer.MAX_VALUE for (int i = 0; i < list.length; i++) {
			list[i] = scan.nextInt();
			sum += list[i];
			min = Math.min(min, list[i]);
		} int i = 0; int i = 0; i 0 i < list.length i list.length list list.length i++ i++ i {
			list[i] = scan.nextInt();
			sum += list[i];
			min = Math.min(min, list[i]);
		} {
			list[i] = scan.nextInt();
			sum += list[i];
			min = Math.min(min, list[i]);
		} list[i] = scan.nextInt() list[i] list i scan.nextInt() scan.nextInt scan sum += list[i] sum list[i] list i min = Math.min(min, list[i]) min Math.min(min, list[i]) Math.min Math min list[i] list i int cnt = (x - sum) / min; cnt (x - sum) / min (x - sum) x sum min System.out.println(cnt + n) System.out.println System.out System System.out cnt + n cnt n String[] args args public class Main {
	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int x = scan.nextInt();
		int[] list = new int[n];
		int sum = 0;
		int min = Integer.MAX_VALUE;
		for (int i = 0; i < list.length; i++) {
			list[i] = scan.nextInt();
			sum += list[i];
			min = Math.min(min, list[i]);
		}
		
		int cnt = (x - sum) / min;
		System.out.println(cnt + n);
		
	}
} public class Main {
	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int x = scan.nextInt();
		int[] list = new int[n];
		int sum = 0;
		int min = Integer.MAX_VALUE;
		for (int i = 0; i < list.length; i++) {
			list[i] = scan.nextInt();
			sum += list[i];
			min = Math.min(min, list[i]);
		}
		
		int cnt = (x - sum) / min;
		System.out.println(cnt + n);
		
	}
} Main

import java.sql.Array;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashSet;
import java.util.List;
import java.util.Scanner;
import java.util.Set;

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

		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int x = scan.nextInt();
		int[] list = new int[n];
		int sum = 0;
		int min = Integer.MAX_VALUE;
		for (int i = 0; i < list.length; i++) {
			list[i] = scan.nextInt();
			sum += list[i];
			min = Math.min(min, list[i]);
		}
		
		int cnt = (x - sum) / min;
		System.out.println(cnt + n);
		
	}
}