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[] m = new int[n];
        for(int i = 0; i < n; i++){
            m[i] = sc.nextInt();
        }
        int sum = 0;
        for(int i = 0; i < n; i++){
            sum = sum + m[i];
        }
        Arrays.sort(m);
        System.out.print(n+(x-sum)/m[0]);
    }
} 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[] m = new int[n];
        for(int i = 0; i < n; i++){
            m[i] = sc.nextInt();
        }
        int sum = 0;
        for(int i = 0; i < n; i++){
            sum = sum + m[i];
        }
        Arrays.sort(m);
        System.out.print(n+(x-sum)/m[0]);
    }
} Main public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int x = sc.nextInt();
        int[] m = new int[n];
        for(int i = 0; i < n; i++){
            m[i] = sc.nextInt();
        }
        int sum = 0;
        for(int i = 0; i < n; i++){
            sum = sum + m[i];
        }
        Arrays.sort(m);
        System.out.print(n+(x-sum)/m[0]);
    } main {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int x = sc.nextInt();
        int[] m = new int[n];
        for(int i = 0; i < n; i++){
            m[i] = sc.nextInt();
        }
        int sum = 0;
        for(int i = 0; i < n; i++){
            sum = sum + m[i];
        }
        Arrays.sort(m);
        System.out.print(n+(x-sum)/m[0]);
    } 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[] m = new int[n]; m new int[n] n for(int i = 0; i < n; i++){
            m[i] = sc.nextInt();
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
            m[i] = sc.nextInt();
        } {
            m[i] = sc.nextInt();
        } m[i] = sc.nextInt() m[i] m i sc.nextInt() sc.nextInt sc int sum = 0; sum 0 for(int i = 0; i < n; i++){
            sum = sum + m[i];
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
            sum = sum + m[i];
        } {
            sum = sum + m[i];
        } sum = sum + m[i] sum sum + m[i] sum m[i] m i Arrays.sort(m) Arrays.sort Arrays m System.out.print(n+(x-sum)/m[0]) System.out.print System.out System System.out n+(x-sum)/m[0] n (x-sum)/m[0] (x-sum) x sum m[0] m 0 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[] m = new int[n];
        for(int i = 0; i < n; i++){
            m[i] = sc.nextInt();
        }
        int sum = 0;
        for(int i = 0; i < n; i++){
            sum = sum + m[i];
        }
        Arrays.sort(m);
        System.out.print(n+(x-sum)/m[0]);
    }
} public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int x = sc.nextInt();
        int[] m = new int[n];
        for(int i = 0; i < n; i++){
            m[i] = sc.nextInt();
        }
        int sum = 0;
        for(int i = 0; i < n; i++){
            sum = sum + m[i];
        }
        Arrays.sort(m);
        System.out.print(n+(x-sum)/m[0]);
    }
} 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[] m = new int[n];
        for(int i = 0; i < n; i++){
            m[i] = sc.nextInt();
        }
        int sum = 0;
        for(int i = 0; i < n; i++){
            sum = sum + m[i];
        }
        Arrays.sort(m);
        System.out.print(n+(x-sum)/m[0]);
    }
}