import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        String[] sozai = s.nextLine().split(" ");
        int num = Integer.parseInt(sozai[0]);
        int ryou = Integer.parseInt(sozai[1]);
        List<Integer> sozaiZenbu = new ArrayList<Integer>();
        for(int i = 0;i < num;i++) {
            int hituyou = Integer.parseInt(s.nextLine());
            ryou -= hituyou;
            sozaiZenbu.add(hituyou);
        }
        int min = Collections.min(sozaiZenbu);
        num += ryou/min;
        System.out.println(num);
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        String[] sozai = s.nextLine().split(" ");
        int num = Integer.parseInt(sozai[0]);
        int ryou = Integer.parseInt(sozai[1]);
        List<Integer> sozaiZenbu = new ArrayList<Integer>();
        for(int i = 0;i < num;i++) {
            int hituyou = Integer.parseInt(s.nextLine());
            ryou -= hituyou;
            sozaiZenbu.add(hituyou);
        }
        int min = Collections.min(sozaiZenbu);
        num += ryou/min;
        System.out.println(num);
    }
} Main public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        String[] sozai = s.nextLine().split(" ");
        int num = Integer.parseInt(sozai[0]);
        int ryou = Integer.parseInt(sozai[1]);
        List<Integer> sozaiZenbu = new ArrayList<Integer>();
        for(int i = 0;i < num;i++) {
            int hituyou = Integer.parseInt(s.nextLine());
            ryou -= hituyou;
            sozaiZenbu.add(hituyou);
        }
        int min = Collections.min(sozaiZenbu);
        num += ryou/min;
        System.out.println(num);
    } main {
        Scanner s = new Scanner(System.in);
        String[] sozai = s.nextLine().split(" ");
        int num = Integer.parseInt(sozai[0]);
        int ryou = Integer.parseInt(sozai[1]);
        List<Integer> sozaiZenbu = new ArrayList<Integer>();
        for(int i = 0;i < num;i++) {
            int hituyou = Integer.parseInt(s.nextLine());
            ryou -= hituyou;
            sozaiZenbu.add(hituyou);
        }
        int min = Collections.min(sozaiZenbu);
        num += ryou/min;
        System.out.println(num);
    } Scanner s = new Scanner(System.in); s new Scanner(System.in) String[] sozai = s.nextLine().split(" "); sozai s.nextLine().split(" ") s.nextLine().split s.nextLine() s.nextLine s " " int num = Integer.parseInt(sozai[0]); num Integer.parseInt(sozai[0]) Integer.parseInt Integer sozai[0] sozai 0 int ryou = Integer.parseInt(sozai[1]); ryou Integer.parseInt(sozai[1]) Integer.parseInt Integer sozai[1] sozai 1 List<Integer> sozaiZenbu = new ArrayList<Integer>(); sozaiZenbu new ArrayList<Integer>() for(int i = 0;i < num;i++) {
            int hituyou = Integer.parseInt(s.nextLine());
            ryou -= hituyou;
            sozaiZenbu.add(hituyou);
        } int i = 0; int i = 0; i 0 i < num i num i++ i++ i {
            int hituyou = Integer.parseInt(s.nextLine());
            ryou -= hituyou;
            sozaiZenbu.add(hituyou);
        } {
            int hituyou = Integer.parseInt(s.nextLine());
            ryou -= hituyou;
            sozaiZenbu.add(hituyou);
        } int hituyou = Integer.parseInt(s.nextLine()); hituyou Integer.parseInt(s.nextLine()) Integer.parseInt Integer s.nextLine() s.nextLine s ryou -= hituyou ryou hituyou sozaiZenbu.add(hituyou) sozaiZenbu.add sozaiZenbu hituyou int min = Collections.min(sozaiZenbu); min Collections.min(sozaiZenbu) Collections.min Collections sozaiZenbu num += ryou/min num ryou/min ryou min System.out.println(num) System.out.println System.out System System.out num String[] args args public class Main {
    public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        String[] sozai = s.nextLine().split(" ");
        int num = Integer.parseInt(sozai[0]);
        int ryou = Integer.parseInt(sozai[1]);
        List<Integer> sozaiZenbu = new ArrayList<Integer>();
        for(int i = 0;i < num;i++) {
            int hituyou = Integer.parseInt(s.nextLine());
            ryou -= hituyou;
            sozaiZenbu.add(hituyou);
        }
        int min = Collections.min(sozaiZenbu);
        num += ryou/min;
        System.out.println(num);
    }
} public class Main {
    public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        String[] sozai = s.nextLine().split(" ");
        int num = Integer.parseInt(sozai[0]);
        int ryou = Integer.parseInt(sozai[1]);
        List<Integer> sozaiZenbu = new ArrayList<Integer>();
        for(int i = 0;i < num;i++) {
            int hituyou = Integer.parseInt(s.nextLine());
            ryou -= hituyou;
            sozaiZenbu.add(hituyou);
        }
        int min = Collections.min(sozaiZenbu);
        num += ryou/min;
        System.out.println(num);
    }
} Main
import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        String[] sozai = s.nextLine().split(" ");
        int num = Integer.parseInt(sozai[0]);
        int ryou = Integer.parseInt(sozai[1]);
        List<Integer> sozaiZenbu = new ArrayList<Integer>();
        for(int i = 0;i < num;i++) {
            int hituyou = Integer.parseInt(s.nextLine());
            ryou -= hituyou;
            sozaiZenbu.add(hituyou);
        }
        int min = Collections.min(sozaiZenbu);
        num += ryou/min;
        System.out.println(num);
    }
}