import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        int n = Integer.parseInt(sc.next());
        int powder = Integer.parseInt(sc.next());
        int min = Integer.MAX_VALUE;
        int cnt = 0;
        for (int i = 0; i < n; i++) {
            int donuts =Integer.parseInt(sc.next());
            powder -= donuts;
            min = Math.min(min, donuts);
            cnt++;
        }
        if (powder > 0) {
            while (powder - min >= 0) {
                powder -= min;
                cnt++;
            }
        }
        System.out.println(cnt);
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        int n = Integer.parseInt(sc.next());
        int powder = Integer.parseInt(sc.next());
        int min = Integer.MAX_VALUE;
        int cnt = 0;
        for (int i = 0; i < n; i++) {
            int donuts =Integer.parseInt(sc.next());
            powder -= donuts;
            min = Math.min(min, donuts);
            cnt++;
        }
        if (powder > 0) {
            while (powder - min >= 0) {
                powder -= min;
                cnt++;
            }
        }
        System.out.println(cnt);
    }
} Main public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        int n = Integer.parseInt(sc.next());
        int powder = Integer.parseInt(sc.next());
        int min = Integer.MAX_VALUE;
        int cnt = 0;
        for (int i = 0; i < n; i++) {
            int donuts =Integer.parseInt(sc.next());
            powder -= donuts;
            min = Math.min(min, donuts);
            cnt++;
        }
        if (powder > 0) {
            while (powder - min >= 0) {
                powder -= min;
                cnt++;
            }
        }
        System.out.println(cnt);
    } main {
        Scanner sc = new Scanner(System.in);
        int n = Integer.parseInt(sc.next());
        int powder = Integer.parseInt(sc.next());
        int min = Integer.MAX_VALUE;
        int cnt = 0;
        for (int i = 0; i < n; i++) {
            int donuts =Integer.parseInt(sc.next());
            powder -= donuts;
            min = Math.min(min, donuts);
            cnt++;
        }
        if (powder > 0) {
            while (powder - min >= 0) {
                powder -= min;
                cnt++;
            }
        }
        System.out.println(cnt);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = Integer.parseInt(sc.next()); n Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int powder = Integer.parseInt(sc.next()); powder Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int min = Integer.MAX_VALUE; min Integer.MAX_VALUE Integer Integer.MAX_VALUE int cnt = 0; cnt 0 for (int i = 0; i < n; i++) {
            int donuts =Integer.parseInt(sc.next());
            powder -= donuts;
            min = Math.min(min, donuts);
            cnt++;
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
            int donuts =Integer.parseInt(sc.next());
            powder -= donuts;
            min = Math.min(min, donuts);
            cnt++;
        } {
            int donuts =Integer.parseInt(sc.next());
            powder -= donuts;
            min = Math.min(min, donuts);
            cnt++;
        } int donuts =Integer.parseInt(sc.next()); donuts Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc powder -= donuts powder donuts min = Math.min(min, donuts) min Math.min(min, donuts) Math.min Math min donuts cnt++ cnt if (powder > 0) {
            while (powder - min >= 0) {
                powder -= min;
                cnt++;
            }
        } powder > 0 powder 0 {
            while (powder - min >= 0) {
                powder -= min;
                cnt++;
            }
        } while (powder - min >= 0) {
                powder -= min;
                cnt++;
            } powder - min >= 0 powder - min powder min 0 {
                powder -= min;
                cnt++;
            } powder -= min powder min cnt++ cnt System.out.println(cnt) System.out.println System.out System System.out cnt String[] args args public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        int n = Integer.parseInt(sc.next());
        int powder = Integer.parseInt(sc.next());
        int min = Integer.MAX_VALUE;
        int cnt = 0;
        for (int i = 0; i < n; i++) {
            int donuts =Integer.parseInt(sc.next());
            powder -= donuts;
            min = Math.min(min, donuts);
            cnt++;
        }
        if (powder > 0) {
            while (powder - min >= 0) {
                powder -= min;
                cnt++;
            }
        }
        System.out.println(cnt);
    }
} public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        int n = Integer.parseInt(sc.next());
        int powder = Integer.parseInt(sc.next());
        int min = Integer.MAX_VALUE;
        int cnt = 0;
        for (int i = 0; i < n; i++) {
            int donuts =Integer.parseInt(sc.next());
            powder -= donuts;
            min = Math.min(min, donuts);
            cnt++;
        }
        if (powder > 0) {
            while (powder - min >= 0) {
                powder -= min;
                cnt++;
            }
        }
        System.out.println(cnt);
    }
} Main
import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        int n = Integer.parseInt(sc.next());
        int powder = Integer.parseInt(sc.next());
        int min = Integer.MAX_VALUE;
        int cnt = 0;
        for (int i = 0; i < n; i++) {
            int donuts =Integer.parseInt(sc.next());
            powder -= donuts;
            min = Math.min(min, donuts);
            cnt++;
        }
        if (powder > 0) {
            while (powder - min >= 0) {
                powder -= min;
                cnt++;
            }
        }
        System.out.println(cnt);
    }
}