import java.util.Arrays;
import java.util.Scanner;
 
public class Main {
    public static void main(String[] args) {
 
        Scanner in = new Scanner(System.in);
        int N = in.nextInt(); int X= in.nextInt();
 
        int[] cost = new int[N];
 
        for(int i = 0; i < N; i++){
            cost[i] = in.nextInt();
            X-=cost[i];
        }
 
 
        Arrays.sort(cost);
 
        int add = 0;
        while(X >= cost[0]) {
            add++;
            X-=cost[0];
        }
 
        System.out.println(N + add);
 
    }
} import java.util.Arrays; Arrays java.util import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
 
        Scanner in = new Scanner(System.in);
        int N = in.nextInt(); int X= in.nextInt();
 
        int[] cost = new int[N];
 
        for(int i = 0; i < N; i++){
            cost[i] = in.nextInt();
            X-=cost[i];
        }
 
 
        Arrays.sort(cost);
 
        int add = 0;
        while(X >= cost[0]) {
            add++;
            X-=cost[0];
        }
 
        System.out.println(N + add);
 
    }
} Main public static void main(String[] args) {
 
        Scanner in = new Scanner(System.in);
        int N = in.nextInt(); int X= in.nextInt();
 
        int[] cost = new int[N];
 
        for(int i = 0; i < N; i++){
            cost[i] = in.nextInt();
            X-=cost[i];
        }
 
 
        Arrays.sort(cost);
 
        int add = 0;
        while(X >= cost[0]) {
            add++;
            X-=cost[0];
        }
 
        System.out.println(N + add);
 
    } main {
 
        Scanner in = new Scanner(System.in);
        int N = in.nextInt(); int X= in.nextInt();
 
        int[] cost = new int[N];
 
        for(int i = 0; i < N; i++){
            cost[i] = in.nextInt();
            X-=cost[i];
        }
 
 
        Arrays.sort(cost);
 
        int add = 0;
        while(X >= cost[0]) {
            add++;
            X-=cost[0];
        }
 
        System.out.println(N + add);
 
    } Scanner in = new Scanner(System.in); in new Scanner(System.in) int N = in.nextInt(); N in.nextInt() in.nextInt in int X= in.nextInt(); X in.nextInt() in.nextInt in int[] cost = new int[N]; cost new int[N] N for(int i = 0; i < N; i++){
            cost[i] = in.nextInt();
            X-=cost[i];
        } int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
            cost[i] = in.nextInt();
            X-=cost[i];
        } {
            cost[i] = in.nextInt();
            X-=cost[i];
        } cost[i] = in.nextInt() cost[i] cost i in.nextInt() in.nextInt in X-=cost[i] X cost[i] cost i Arrays.sort(cost) Arrays.sort Arrays cost int add = 0; add 0 while(X >= cost[0]) {
            add++;
            X-=cost[0];
        } X >= cost[0] X cost[0] cost 0 {
            add++;
            X-=cost[0];
        } add++ add X-=cost[0] X cost[0] cost 0 System.out.println(N + add) System.out.println System.out System System.out N + add N add String[] args args public class Main {
    public static void main(String[] args) {
 
        Scanner in = new Scanner(System.in);
        int N = in.nextInt(); int X= in.nextInt();
 
        int[] cost = new int[N];
 
        for(int i = 0; i < N; i++){
            cost[i] = in.nextInt();
            X-=cost[i];
        }
 
 
        Arrays.sort(cost);
 
        int add = 0;
        while(X >= cost[0]) {
            add++;
            X-=cost[0];
        }
 
        System.out.println(N + add);
 
    }
} public class Main {
    public static void main(String[] args) {
 
        Scanner in = new Scanner(System.in);
        int N = in.nextInt(); int X= in.nextInt();
 
        int[] cost = new int[N];
 
        for(int i = 0; i < N; i++){
            cost[i] = in.nextInt();
            X-=cost[i];
        }
 
 
        Arrays.sort(cost);
 
        int add = 0;
        while(X >= cost[0]) {
            add++;
            X-=cost[0];
        }
 
        System.out.println(N + add);
 
    }
} Main
import java.util.Arrays;
import java.util.Scanner;
 
public class Main {
    public static void main(String[] args) {
 
        Scanner in = new Scanner(System.in);
        int N = in.nextInt(); int X= in.nextInt();
 
        int[] cost = new int[N];
 
        for(int i = 0; i < N; i++){
            cost[i] = in.nextInt();
            X-=cost[i];
        }
 
 
        Arrays.sort(cost);
 
        int add = 0;
        while(X >= cost[0]) {
            add++;
            X-=cost[0];
        }
 
        System.out.println(N + add);
 
    }
}