import java.util.Scanner;

public class Main {
	
	static final int MAX_N = 1000;
	
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String[] basedata = sc.nextLine().split(" ");
        int N = Integer.parseInt(basedata[0]);
        int X = Integer.parseInt(basedata[1]);
        int minAmount = MAX_N;
        int totalAmount = 0;
        for (int i = 0; i < N; i++) {
        	int amount = sc.nextInt();
        	totalAmount += amount;
        	if (amount < minAmount) 
        		minAmount = amount;
        }
        int remainder = X - totalAmount;
        System.out.println((remainder/minAmount) + N);
    }
} import java.util.Scanner; Scanner java.util public class Main {
	
	static final int MAX_N = 1000;
	
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String[] basedata = sc.nextLine().split(" ");
        int N = Integer.parseInt(basedata[0]);
        int X = Integer.parseInt(basedata[1]);
        int minAmount = MAX_N;
        int totalAmount = 0;
        for (int i = 0; i < N; i++) {
        	int amount = sc.nextInt();
        	totalAmount += amount;
        	if (amount < minAmount) 
        		minAmount = amount;
        }
        int remainder = X - totalAmount;
        System.out.println((remainder/minAmount) + N);
    }
} Main static final int MAX_N = 1000; MAX_N 1000 public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String[] basedata = sc.nextLine().split(" ");
        int N = Integer.parseInt(basedata[0]);
        int X = Integer.parseInt(basedata[1]);
        int minAmount = MAX_N;
        int totalAmount = 0;
        for (int i = 0; i < N; i++) {
        	int amount = sc.nextInt();
        	totalAmount += amount;
        	if (amount < minAmount) 
        		minAmount = amount;
        }
        int remainder = X - totalAmount;
        System.out.println((remainder/minAmount) + N);
    } main {
        Scanner sc = new Scanner(System.in);
        String[] basedata = sc.nextLine().split(" ");
        int N = Integer.parseInt(basedata[0]);
        int X = Integer.parseInt(basedata[1]);
        int minAmount = MAX_N;
        int totalAmount = 0;
        for (int i = 0; i < N; i++) {
        	int amount = sc.nextInt();
        	totalAmount += amount;
        	if (amount < minAmount) 
        		minAmount = amount;
        }
        int remainder = X - totalAmount;
        System.out.println((remainder/minAmount) + N);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String[] basedata = sc.nextLine().split(" "); basedata sc.nextLine().split(" ") sc.nextLine().split sc.nextLine() sc.nextLine sc " " int N = Integer.parseInt(basedata[0]); N Integer.parseInt(basedata[0]) Integer.parseInt Integer basedata[0] basedata 0 int X = Integer.parseInt(basedata[1]); X Integer.parseInt(basedata[1]) Integer.parseInt Integer basedata[1] basedata 1 int minAmount = MAX_N; minAmount MAX_N int totalAmount = 0; totalAmount 0 for (int i = 0; i < N; i++) {
        	int amount = sc.nextInt();
        	totalAmount += amount;
        	if (amount < minAmount) 
        		minAmount = amount;
        } int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
        	int amount = sc.nextInt();
        	totalAmount += amount;
        	if (amount < minAmount) 
        		minAmount = amount;
        } {
        	int amount = sc.nextInt();
        	totalAmount += amount;
        	if (amount < minAmount) 
        		minAmount = amount;
        } int amount = sc.nextInt(); amount sc.nextInt() sc.nextInt sc totalAmount += amount totalAmount amount if (amount < minAmount) 
        		minAmount = amount; amount < minAmount amount minAmount minAmount = amount minAmount amount int remainder = X - totalAmount; remainder X - totalAmount X totalAmount System.out.println((remainder/minAmount) + N) System.out.println System.out System System.out (remainder/minAmount) + N (remainder/minAmount) remainder minAmount N String[] args args public class Main {
	
	static final int MAX_N = 1000;
	
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String[] basedata = sc.nextLine().split(" ");
        int N = Integer.parseInt(basedata[0]);
        int X = Integer.parseInt(basedata[1]);
        int minAmount = MAX_N;
        int totalAmount = 0;
        for (int i = 0; i < N; i++) {
        	int amount = sc.nextInt();
        	totalAmount += amount;
        	if (amount < minAmount) 
        		minAmount = amount;
        }
        int remainder = X - totalAmount;
        System.out.println((remainder/minAmount) + N);
    }
} public class Main {
	
	static final int MAX_N = 1000;
	
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String[] basedata = sc.nextLine().split(" ");
        int N = Integer.parseInt(basedata[0]);
        int X = Integer.parseInt(basedata[1]);
        int minAmount = MAX_N;
        int totalAmount = 0;
        for (int i = 0; i < N; i++) {
        	int amount = sc.nextInt();
        	totalAmount += amount;
        	if (amount < minAmount) 
        		minAmount = amount;
        }
        int remainder = X - totalAmount;
        System.out.println((remainder/minAmount) + N);
    }
} Main
import java.util.Scanner;

public class Main {
	
	static final int MAX_N = 1000;
	
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String[] basedata = sc.nextLine().split(" ");
        int N = Integer.parseInt(basedata[0]);
        int X = Integer.parseInt(basedata[1]);
        int minAmount = MAX_N;
        int totalAmount = 0;
        for (int i = 0; i < N; i++) {
        	int amount = sc.nextInt();
        	totalAmount += amount;
        	if (amount < minAmount) 
        		minAmount = amount;
        }
        int remainder = X - totalAmount;
        System.out.println((remainder/minAmount) + N);
    }
}