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 h = 0; h < N; h++){
            m[h] = sc.nextInt();
            X -= m[h];
        }

        Arrays.sort(m);
        int counter = 0;

        while(X >= m[0]){
            X -= m[0];
            counter++;
        }

        counter += N;
        System.out.println(counter);
    }
} 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 h = 0; h < N; h++){
            m[h] = sc.nextInt();
            X -= m[h];
        }

        Arrays.sort(m);
        int counter = 0;

        while(X >= m[0]){
            X -= m[0];
            counter++;
        }

        counter += N;
        System.out.println(counter);
    }
} 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 h = 0; h < N; h++){
            m[h] = sc.nextInt();
            X -= m[h];
        }

        Arrays.sort(m);
        int counter = 0;

        while(X >= m[0]){
            X -= m[0];
            counter++;
        }

        counter += N;
        System.out.println(counter);
    } main {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int X = sc.nextInt();
        int m[] = new int[N];
        for(int h = 0; h < N; h++){
            m[h] = sc.nextInt();
            X -= m[h];
        }

        Arrays.sort(m);
        int counter = 0;

        while(X >= m[0]){
            X -= m[0];
            counter++;
        }

        counter += N;
        System.out.println(counter);
    } 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 h = 0; h < N; h++){
            m[h] = sc.nextInt();
            X -= m[h];
        } int h = 0; int h = 0; h 0 h < N h N h++ h++ h {
            m[h] = sc.nextInt();
            X -= m[h];
        } {
            m[h] = sc.nextInt();
            X -= m[h];
        } m[h] = sc.nextInt() m[h] m h sc.nextInt() sc.nextInt sc X -= m[h] X m[h] m h Arrays.sort(m) Arrays.sort Arrays m int counter = 0; counter 0 while(X >= m[0]){
            X -= m[0];
            counter++;
        } X >= m[0] X m[0] m 0 {
            X -= m[0];
            counter++;
        } X -= m[0] X m[0] m 0 counter++ counter counter += N counter N System.out.println(counter) System.out.println System.out System System.out counter 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 h = 0; h < N; h++){
            m[h] = sc.nextInt();
            X -= m[h];
        }

        Arrays.sort(m);
        int counter = 0;

        while(X >= m[0]){
            X -= m[0];
            counter++;
        }

        counter += N;
        System.out.println(counter);
    }
} 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 h = 0; h < N; h++){
            m[h] = sc.nextInt();
            X -= m[h];
        }

        Arrays.sort(m);
        int counter = 0;

        while(X >= m[0]){
            X -= m[0];
            counter++;
        }

        counter += N;
        System.out.println(counter);
    }
} 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 h = 0; h < N; h++){
            m[h] = sc.nextInt();
            X -= m[h];
        }

        Arrays.sort(m);
        int counter = 0;

        while(X >= m[0]){
            X -= m[0];
            counter++;
        }

        counter += N;
        System.out.println(counter);
    }
}