import java.util.*;
 
public class Main {
	public static void main(String[] args) {
    	Scanner sc = new Scanner(System.in);
    	int n = sc.nextInt();
        int g = sc.nextInt();
        int min = g;
        int count = 0;
        int sum = 0;
        for(int i = 0; i < n; i++){
        	int x = sc.nextInt();
            sum += x;
            if(min > x){
            	min = x;
            }
        }
        sum = g - sum;
        while(sum - min >= 0){
        	sum -= min;
            count++;
        }
        System.out.println(n + count);
    }
} import java.util.*; util.* java public class Main {
	public static void main(String[] args) {
    	Scanner sc = new Scanner(System.in);
    	int n = sc.nextInt();
        int g = sc.nextInt();
        int min = g;
        int count = 0;
        int sum = 0;
        for(int i = 0; i < n; i++){
        	int x = sc.nextInt();
            sum += x;
            if(min > x){
            	min = x;
            }
        }
        sum = g - sum;
        while(sum - min >= 0){
        	sum -= min;
            count++;
        }
        System.out.println(n + count);
    }
} Main public static void main(String[] args) {
    	Scanner sc = new Scanner(System.in);
    	int n = sc.nextInt();
        int g = sc.nextInt();
        int min = g;
        int count = 0;
        int sum = 0;
        for(int i = 0; i < n; i++){
        	int x = sc.nextInt();
            sum += x;
            if(min > x){
            	min = x;
            }
        }
        sum = g - sum;
        while(sum - min >= 0){
        	sum -= min;
            count++;
        }
        System.out.println(n + count);
    } main {
    	Scanner sc = new Scanner(System.in);
    	int n = sc.nextInt();
        int g = sc.nextInt();
        int min = g;
        int count = 0;
        int sum = 0;
        for(int i = 0; i < n; i++){
        	int x = sc.nextInt();
            sum += x;
            if(min > x){
            	min = x;
            }
        }
        sum = g - sum;
        while(sum - min >= 0){
        	sum -= min;
            count++;
        }
        System.out.println(n + count);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc int g = sc.nextInt(); g sc.nextInt() sc.nextInt sc int min = g; min g int count = 0; count 0 int sum = 0; sum 0 for(int i = 0; i < n; i++){
        	int x = sc.nextInt();
            sum += x;
            if(min > x){
            	min = x;
            }
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
        	int x = sc.nextInt();
            sum += x;
            if(min > x){
            	min = x;
            }
        } {
        	int x = sc.nextInt();
            sum += x;
            if(min > x){
            	min = x;
            }
        } int x = sc.nextInt(); x sc.nextInt() sc.nextInt sc sum += x sum x if(min > x){
            	min = x;
            } min > x min x {
            	min = x;
            } min = x min x sum = g - sum sum g - sum g sum while(sum - min >= 0){
        	sum -= min;
            count++;
        } sum - min >= 0 sum - min sum min 0 {
        	sum -= min;
            count++;
        } sum -= min sum min count++ count System.out.println(n + count) System.out.println System.out System System.out n + count n count String[] args args public class Main {
	public static void main(String[] args) {
    	Scanner sc = new Scanner(System.in);
    	int n = sc.nextInt();
        int g = sc.nextInt();
        int min = g;
        int count = 0;
        int sum = 0;
        for(int i = 0; i < n; i++){
        	int x = sc.nextInt();
            sum += x;
            if(min > x){
            	min = x;
            }
        }
        sum = g - sum;
        while(sum - min >= 0){
        	sum -= min;
            count++;
        }
        System.out.println(n + count);
    }
} public class Main {
	public static void main(String[] args) {
    	Scanner sc = new Scanner(System.in);
    	int n = sc.nextInt();
        int g = sc.nextInt();
        int min = g;
        int count = 0;
        int sum = 0;
        for(int i = 0; i < n; i++){
        	int x = sc.nextInt();
            sum += x;
            if(min > x){
            	min = x;
            }
        }
        sum = g - sum;
        while(sum - min >= 0){
        	sum -= min;
            count++;
        }
        System.out.println(n + count);
    }
} Main
import java.util.*;
 
public class Main {
	public static void main(String[] args) {
    	Scanner sc = new Scanner(System.in);
    	int n = sc.nextInt();
        int g = sc.nextInt();
        int min = g;
        int count = 0;
        int sum = 0;
        for(int i = 0; i < n; i++){
        	int x = sc.nextInt();
            sum += x;
            if(min > x){
            	min = x;
            }
        }
        sum = g - sum;
        while(sum - min >= 0){
        	sum -= min;
            count++;
        }
        System.out.println(n + count);
    }
}