import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        int type = Integer.parseInt(sc.next());
        int powder = Integer.parseInt(sc.next());
        int min = powder;
        for(int x=1; x<=type; x++) {
            int pow = Integer.parseInt(sc.next());
            powder -= pow;
            min = min<pow?min:pow;
        }
        System.out.println(type+powder/min);
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        int type = Integer.parseInt(sc.next());
        int powder = Integer.parseInt(sc.next());
        int min = powder;
        for(int x=1; x<=type; x++) {
            int pow = Integer.parseInt(sc.next());
            powder -= pow;
            min = min<pow?min:pow;
        }
        System.out.println(type+powder/min);
    }
} Main public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        int type = Integer.parseInt(sc.next());
        int powder = Integer.parseInt(sc.next());
        int min = powder;
        for(int x=1; x<=type; x++) {
            int pow = Integer.parseInt(sc.next());
            powder -= pow;
            min = min<pow?min:pow;
        }
        System.out.println(type+powder/min);
    } main {
        Scanner sc = new Scanner(System.in);
        int type = Integer.parseInt(sc.next());
        int powder = Integer.parseInt(sc.next());
        int min = powder;
        for(int x=1; x<=type; x++) {
            int pow = Integer.parseInt(sc.next());
            powder -= pow;
            min = min<pow?min:pow;
        }
        System.out.println(type+powder/min);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int type = Integer.parseInt(sc.next()); type 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 = powder; min powder for(int x=1; x<=type; x++) {
            int pow = Integer.parseInt(sc.next());
            powder -= pow;
            min = min<pow?min:pow;
        } int x=1; int x=1; x 1 x<=type x type x++ x++ x {
            int pow = Integer.parseInt(sc.next());
            powder -= pow;
            min = min<pow?min:pow;
        } {
            int pow = Integer.parseInt(sc.next());
            powder -= pow;
            min = min<pow?min:pow;
        } int pow = Integer.parseInt(sc.next()); pow Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc powder -= pow powder pow min = min<pow?min:pow min min<pow?min:pow min<pow min pow min pow System.out.println(type+powder/min) System.out.println System.out System System.out type+powder/min type powder/min powder min String[] args args public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        int type = Integer.parseInt(sc.next());
        int powder = Integer.parseInt(sc.next());
        int min = powder;
        for(int x=1; x<=type; x++) {
            int pow = Integer.parseInt(sc.next());
            powder -= pow;
            min = min<pow?min:pow;
        }
        System.out.println(type+powder/min);
    }
} public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        int type = Integer.parseInt(sc.next());
        int powder = Integer.parseInt(sc.next());
        int min = powder;
        for(int x=1; x<=type; x++) {
            int pow = Integer.parseInt(sc.next());
            powder -= pow;
            min = min<pow?min:pow;
        }
        System.out.println(type+powder/min);
    }
} Main
import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        int type = Integer.parseInt(sc.next());
        int powder = Integer.parseInt(sc.next());
        int min = powder;
        for(int x=1; x<=type; x++) {
            int pow = Integer.parseInt(sc.next());
            powder -= pow;
            min = min<pow?min:pow;
        }
        System.out.println(type+powder/min);
    }
}
