import java.util.Scanner;

public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = Integer.parseInt(sc.next());
        int[] c = new int[a];
        
        int min = Integer.MAX_VALUE;
        int total = 0;
        for(int i = 0;i<a;i++){
            c[i] = sc.nextInt();
            if(c[i]<min){
                min = c[i];
            }
            total += c[i];
        }

        int d = b -total;
        int e = d/min;
        System.out.println(a+e);
    }
} import java.util.Scanner; Scanner java.util public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = Integer.parseInt(sc.next());
        int[] c = new int[a];
        
        int min = Integer.MAX_VALUE;
        int total = 0;
        for(int i = 0;i<a;i++){
            c[i] = sc.nextInt();
            if(c[i]<min){
                min = c[i];
            }
            total += c[i];
        }

        int d = b -total;
        int e = d/min;
        System.out.println(a+e);
    }
} Main public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = Integer.parseInt(sc.next());
        int[] c = new int[a];
        
        int min = Integer.MAX_VALUE;
        int total = 0;
        for(int i = 0;i<a;i++){
            c[i] = sc.nextInt();
            if(c[i]<min){
                min = c[i];
            }
            total += c[i];
        }

        int d = b -total;
        int e = d/min;
        System.out.println(a+e);
    } main {
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = Integer.parseInt(sc.next());
        int[] c = new int[a];
        
        int min = Integer.MAX_VALUE;
        int total = 0;
        for(int i = 0;i<a;i++){
            c[i] = sc.nextInt();
            if(c[i]<min){
                min = c[i];
            }
            total += c[i];
        }

        int d = b -total;
        int e = d/min;
        System.out.println(a+e);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc int b = Integer.parseInt(sc.next()); b Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int[] c = new int[a]; c new int[a] a int min = Integer.MAX_VALUE; min Integer.MAX_VALUE Integer Integer.MAX_VALUE int total = 0; total 0 for(int i = 0;i<a;i++){
            c[i] = sc.nextInt();
            if(c[i]<min){
                min = c[i];
            }
            total += c[i];
        } int i = 0; int i = 0; i 0 i<a i a i++ i++ i {
            c[i] = sc.nextInt();
            if(c[i]<min){
                min = c[i];
            }
            total += c[i];
        } {
            c[i] = sc.nextInt();
            if(c[i]<min){
                min = c[i];
            }
            total += c[i];
        } c[i] = sc.nextInt() c[i] c i sc.nextInt() sc.nextInt sc if(c[i]<min){
                min = c[i];
            } c[i]<min c[i] c i min {
                min = c[i];
            } min = c[i] min c[i] c i total += c[i] total c[i] c i int d = b -total; d b -total b total int e = d/min; e d/min d min System.out.println(a+e) System.out.println System.out System System.out a+e a e String[] args args public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = Integer.parseInt(sc.next());
        int[] c = new int[a];
        
        int min = Integer.MAX_VALUE;
        int total = 0;
        for(int i = 0;i<a;i++){
            c[i] = sc.nextInt();
            if(c[i]<min){
                min = c[i];
            }
            total += c[i];
        }

        int d = b -total;
        int e = d/min;
        System.out.println(a+e);
    }
} public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = Integer.parseInt(sc.next());
        int[] c = new int[a];
        
        int min = Integer.MAX_VALUE;
        int total = 0;
        for(int i = 0;i<a;i++){
            c[i] = sc.nextInt();
            if(c[i]<min){
                min = c[i];
            }
            total += c[i];
        }

        int d = b -total;
        int e = d/min;
        System.out.println(a+e);
    }
} Main
import java.util.Scanner;

public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = Integer.parseInt(sc.next());
        int[] c = new int[a];
        
        int min = Integer.MAX_VALUE;
        int total = 0;
        for(int i = 0;i<a;i++){
            c[i] = sc.nextInt();
            if(c[i]<min){
                min = c[i];
            }
            total += c[i];
        }

        int d = b -total;
        int e = d/min;
        System.out.println(a+e);
    }
}