import java.util.Scanner;

public class Main {
    public static void main(String args[]){
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int X = sc.nextInt();
        int i = 0;
        int min = 1001;
        int sum = 0;
        int prev;
        int ans = N;
        while(i < N){
            prev = sc.nextInt();
            sum += prev;
            if(prev < min){
                min = prev;
            }
            i++;
        }
        X -= sum;
        ans += X/min;
        System.out.println(ans);

    }
} import java.util.Scanner; Scanner 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 i = 0;
        int min = 1001;
        int sum = 0;
        int prev;
        int ans = N;
        while(i < N){
            prev = sc.nextInt();
            sum += prev;
            if(prev < min){
                min = prev;
            }
            i++;
        }
        X -= sum;
        ans += X/min;
        System.out.println(ans);

    }
} Main public static void main(String args[]){
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int X = sc.nextInt();
        int i = 0;
        int min = 1001;
        int sum = 0;
        int prev;
        int ans = N;
        while(i < N){
            prev = sc.nextInt();
            sum += prev;
            if(prev < min){
                min = prev;
            }
            i++;
        }
        X -= sum;
        ans += X/min;
        System.out.println(ans);

    } main {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int X = sc.nextInt();
        int i = 0;
        int min = 1001;
        int sum = 0;
        int prev;
        int ans = N;
        while(i < N){
            prev = sc.nextInt();
            sum += prev;
            if(prev < min){
                min = prev;
            }
            i++;
        }
        X -= sum;
        ans += X/min;
        System.out.println(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 i = 0; i 0 int min = 1001; min 1001 int sum = 0; sum 0 int prev; prev int ans = N; ans N while(i < N){
            prev = sc.nextInt();
            sum += prev;
            if(prev < min){
                min = prev;
            }
            i++;
        } i < N i N {
            prev = sc.nextInt();
            sum += prev;
            if(prev < min){
                min = prev;
            }
            i++;
        } prev = sc.nextInt() prev sc.nextInt() sc.nextInt sc sum += prev sum prev if(prev < min){
                min = prev;
            } prev < min prev min {
                min = prev;
            } min = prev min prev i++ i X -= sum X sum ans += X/min ans X/min X min System.out.println(ans) System.out.println 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 i = 0;
        int min = 1001;
        int sum = 0;
        int prev;
        int ans = N;
        while(i < N){
            prev = sc.nextInt();
            sum += prev;
            if(prev < min){
                min = prev;
            }
            i++;
        }
        X -= sum;
        ans += X/min;
        System.out.println(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 i = 0;
        int min = 1001;
        int sum = 0;
        int prev;
        int ans = N;
        while(i < N){
            prev = sc.nextInt();
            sum += prev;
            if(prev < min){
                min = prev;
            }
            i++;
        }
        X -= sum;
        ans += X/min;
        System.out.println(ans);

    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String args[]){
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int X = sc.nextInt();
        int i = 0;
        int min = 1001;
        int sum = 0;
        int prev;
        int ans = N;
        while(i < N){
            prev = sc.nextInt();
            sum += prev;
            if(prev < min){
                min = prev;
            }
            i++;
        }
        X -= sum;
        ans += X/min;
        System.out.println(ans);

    }
}
