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;

        for (int i = 0; i < N; i++) {
            int n = sc.nextInt();
            X -= n;
            if (min > n) {
                min = n;
            }
        }
        System.out.println(N + X / min);
    }
} 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;

        for (int i = 0; i < N; i++) {
            int n = sc.nextInt();
            X -= n;
            if (min > n) {
                min = n;
            }
        }
        System.out.println(N + X / min);
    }
} 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;

        for (int i = 0; i < N; i++) {
            int n = sc.nextInt();
            X -= n;
            if (min > n) {
                min = n;
            }
        }
        System.out.println(N + X / min);
    } main {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int X = sc.nextInt();
        int min = Integer.MAX_VALUE;

        for (int i = 0; i < N; i++) {
            int n = sc.nextInt();
            X -= n;
            if (min > n) {
                min = n;
            }
        }
        System.out.println(N + X / min);
    } 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 for (int i = 0; i < N; i++) {
            int n = sc.nextInt();
            X -= n;
            if (min > n) {
                min = n;
            }
        } int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
            int n = sc.nextInt();
            X -= n;
            if (min > n) {
                min = n;
            }
        } {
            int n = sc.nextInt();
            X -= n;
            if (min > n) {
                min = n;
            }
        } int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc X -= n X n if (min > n) {
                min = n;
            } min > n min n {
                min = n;
            } min = n min n System.out.println(N + X / min) System.out.println System.out System System.out N + X / min N X / min X min 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;

        for (int i = 0; i < N; i++) {
            int n = sc.nextInt();
            X -= n;
            if (min > n) {
                min = n;
            }
        }
        System.out.println(N + X / min);
    }
} 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;

        for (int i = 0; i < N; i++) {
            int n = sc.nextInt();
            X -= n;
            if (min > n) {
                min = n;
            }
        }
        System.out.println(N + X / min);
    }
} 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;

        for (int i = 0; i < N; i++) {
            int n = sc.nextInt();
            X -= n;
            if (min > n) {
                min = n;
            }
        }
        System.out.println(N + X / min);
    }
}