import java.util.Scanner;

public class Main{
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int N = Integer.parseInt(scan.next());
        int X = Integer.parseInt(scan.next());
        int[] M = new int[N];
        int tmp = 1000;
        int cou = N;
        for(int i = 0;i<N;i++){
            M[i] = Integer.parseInt(scan.next());
            X -= M[i];
            if(tmp>M[i]){
                tmp = M[i];
            }
        }
        int count = X/tmp;
        System.out.println(cou+count);
    }
} import java.util.Scanner; Scanner java.util public class Main{
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int N = Integer.parseInt(scan.next());
        int X = Integer.parseInt(scan.next());
        int[] M = new int[N];
        int tmp = 1000;
        int cou = N;
        for(int i = 0;i<N;i++){
            M[i] = Integer.parseInt(scan.next());
            X -= M[i];
            if(tmp>M[i]){
                tmp = M[i];
            }
        }
        int count = X/tmp;
        System.out.println(cou+count);
    }
} Main public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int N = Integer.parseInt(scan.next());
        int X = Integer.parseInt(scan.next());
        int[] M = new int[N];
        int tmp = 1000;
        int cou = N;
        for(int i = 0;i<N;i++){
            M[i] = Integer.parseInt(scan.next());
            X -= M[i];
            if(tmp>M[i]){
                tmp = M[i];
            }
        }
        int count = X/tmp;
        System.out.println(cou+count);
    } main {
        Scanner scan = new Scanner(System.in);
        int N = Integer.parseInt(scan.next());
        int X = Integer.parseInt(scan.next());
        int[] M = new int[N];
        int tmp = 1000;
        int cou = N;
        for(int i = 0;i<N;i++){
            M[i] = Integer.parseInt(scan.next());
            X -= M[i];
            if(tmp>M[i]){
                tmp = M[i];
            }
        }
        int count = X/tmp;
        System.out.println(cou+count);
    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int N = Integer.parseInt(scan.next()); N Integer.parseInt(scan.next()) Integer.parseInt Integer scan.next() scan.next scan int X = Integer.parseInt(scan.next()); X Integer.parseInt(scan.next()) Integer.parseInt Integer scan.next() scan.next scan int[] M = new int[N]; M new int[N] N int tmp = 1000; tmp 1000 int cou = N; cou N for(int i = 0;i<N;i++){
            M[i] = Integer.parseInt(scan.next());
            X -= M[i];
            if(tmp>M[i]){
                tmp = M[i];
            }
        } int i = 0; int i = 0; i 0 i<N i N i++ i++ i {
            M[i] = Integer.parseInt(scan.next());
            X -= M[i];
            if(tmp>M[i]){
                tmp = M[i];
            }
        } {
            M[i] = Integer.parseInt(scan.next());
            X -= M[i];
            if(tmp>M[i]){
                tmp = M[i];
            }
        } M[i] = Integer.parseInt(scan.next()) M[i] M i Integer.parseInt(scan.next()) Integer.parseInt Integer scan.next() scan.next scan X -= M[i] X M[i] M i if(tmp>M[i]){
                tmp = M[i];
            } tmp>M[i] tmp M[i] M i {
                tmp = M[i];
            } tmp = M[i] tmp M[i] M i int count = X/tmp; count X/tmp X tmp System.out.println(cou+count) System.out.println System.out System System.out cou+count cou count String[] args args public class Main{
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int N = Integer.parseInt(scan.next());
        int X = Integer.parseInt(scan.next());
        int[] M = new int[N];
        int tmp = 1000;
        int cou = N;
        for(int i = 0;i<N;i++){
            M[i] = Integer.parseInt(scan.next());
            X -= M[i];
            if(tmp>M[i]){
                tmp = M[i];
            }
        }
        int count = X/tmp;
        System.out.println(cou+count);
    }
} public class Main{
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int N = Integer.parseInt(scan.next());
        int X = Integer.parseInt(scan.next());
        int[] M = new int[N];
        int tmp = 1000;
        int cou = N;
        for(int i = 0;i<N;i++){
            M[i] = Integer.parseInt(scan.next());
            X -= M[i];
            if(tmp>M[i]){
                tmp = M[i];
            }
        }
        int count = X/tmp;
        System.out.println(cou+count);
    }
} Main
import java.util.Scanner;

public class Main{
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int N = Integer.parseInt(scan.next());
        int X = Integer.parseInt(scan.next());
        int[] M = new int[N];
        int tmp = 1000;
        int cou = N;
        for(int i = 0;i<N;i++){
            M[i] = Integer.parseInt(scan.next());
            X -= M[i];
            if(tmp>M[i]){
                tmp = M[i];
            }
        }
        int count = X/tmp;
        System.out.println(cou+count);
    }
}