import java.util.*;
public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int X = sc.nextInt();
        int min = Integer.MAX_VALUE;
        int sum = 0;
        for(int i=0;i<N;i++){
            int m = sc.nextInt();
            min = Math.min(min,m);
            sum += m;
        }
        int ans = N+(X-sum)/min;
        System.out.print(ans);
    }
}

 import java.util.*; util.* java public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int X = sc.nextInt();
        int min = Integer.MAX_VALUE;
        int sum = 0;
        for(int i=0;i<N;i++){
            int m = sc.nextInt();
            min = Math.min(min,m);
            sum += m;
        }
        int ans = N+(X-sum)/min;
        System.out.print(ans);
    }
} Main public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int X = sc.nextInt();
        int min = Integer.MAX_VALUE;
        int sum = 0;
        for(int i=0;i<N;i++){
            int m = sc.nextInt();
            min = Math.min(min,m);
            sum += m;
        }
        int ans = N+(X-sum)/min;
        System.out.print(ans);
    } main {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int X = sc.nextInt();
        int min = Integer.MAX_VALUE;
        int sum = 0;
        for(int i=0;i<N;i++){
            int m = sc.nextInt();
            min = Math.min(min,m);
            sum += m;
        }
        int ans = N+(X-sum)/min;
        System.out.print(ans);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int N = sc.nextInt(); N sc.nextInt() sc.nextInt sc int X = sc.nextInt(); X sc.nextInt() sc.nextInt sc int min = Integer.MAX_VALUE; min Integer.MAX_VALUE Integer Integer.MAX_VALUE int sum = 0; sum 0 for(int i=0;i<N;i++){
            int m = sc.nextInt();
            min = Math.min(min,m);
            sum += m;
        } int i=0; int i=0; i 0 i<N i N i++ i++ i {
            int m = sc.nextInt();
            min = Math.min(min,m);
            sum += m;
        } {
            int m = sc.nextInt();
            min = Math.min(min,m);
            sum += m;
        } int m = sc.nextInt(); m sc.nextInt() sc.nextInt sc min = Math.min(min,m) min Math.min(min,m) Math.min Math min m sum += m sum m int ans = N+(X-sum)/min; ans N+(X-sum)/min N (X-sum)/min (X-sum) X sum min System.out.print(ans) System.out.print System.out System System.out ans String[] args args public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int X = sc.nextInt();
        int min = Integer.MAX_VALUE;
        int sum = 0;
        for(int i=0;i<N;i++){
            int m = sc.nextInt();
            min = Math.min(min,m);
            sum += m;
        }
        int ans = N+(X-sum)/min;
        System.out.print(ans);
    }
} public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int X = sc.nextInt();
        int min = Integer.MAX_VALUE;
        int sum = 0;
        for(int i=0;i<N;i++){
            int m = sc.nextInt();
            min = Math.min(min,m);
            sum += m;
        }
        int ans = N+(X-sum)/min;
        System.out.print(ans);
    }
} Main
import java.util.*;
public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int X = sc.nextInt();
        int min = Integer.MAX_VALUE;
        int sum = 0;
        for(int i=0;i<N;i++){
            int m = sc.nextInt();
            min = Math.min(min,m);
            sum += m;
        }
        int ans = N+(X-sum)/min;
        System.out.print(ans);
    }
}


