import java.util.Arrays;
import java.util.Scanner;

public class Main
{
    public static void main(String args[])
    {
        Scanner scn = new Scanner(System.in);
        int n = scn.nextInt();
        int a[] = new int[n];
        int x = scn.nextInt();
        int c = n;
        for (int i = 0; i < n; i++)
        {
            a[i] = scn.nextInt();
            x -= a[i];
        }
        Arrays.sort(a);
        c = c + (x / a[0]);
        System.out.println(c);
    }
} import java.util.Arrays; Arrays java.util import java.util.Scanner; Scanner java.util public class Main
{
    public static void main(String args[])
    {
        Scanner scn = new Scanner(System.in);
        int n = scn.nextInt();
        int a[] = new int[n];
        int x = scn.nextInt();
        int c = n;
        for (int i = 0; i < n; i++)
        {
            a[i] = scn.nextInt();
            x -= a[i];
        }
        Arrays.sort(a);
        c = c + (x / a[0]);
        System.out.println(c);
    }
} Main public static void main(String args[])
    {
        Scanner scn = new Scanner(System.in);
        int n = scn.nextInt();
        int a[] = new int[n];
        int x = scn.nextInt();
        int c = n;
        for (int i = 0; i < n; i++)
        {
            a[i] = scn.nextInt();
            x -= a[i];
        }
        Arrays.sort(a);
        c = c + (x / a[0]);
        System.out.println(c);
    } main {
        Scanner scn = new Scanner(System.in);
        int n = scn.nextInt();
        int a[] = new int[n];
        int x = scn.nextInt();
        int c = n;
        for (int i = 0; i < n; i++)
        {
            a[i] = scn.nextInt();
            x -= a[i];
        }
        Arrays.sort(a);
        c = c + (x / a[0]);
        System.out.println(c);
    } Scanner scn = new Scanner(System.in); scn new Scanner(System.in) int n = scn.nextInt(); n scn.nextInt() scn.nextInt scn int a[] = new int[n]; a new int[n] n int x = scn.nextInt(); x scn.nextInt() scn.nextInt scn int c = n; c n for (int i = 0; i < n; i++)
        {
            a[i] = scn.nextInt();
            x -= a[i];
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
            a[i] = scn.nextInt();
            x -= a[i];
        } {
            a[i] = scn.nextInt();
            x -= a[i];
        } a[i] = scn.nextInt() a[i] a i scn.nextInt() scn.nextInt scn x -= a[i] x a[i] a i Arrays.sort(a) Arrays.sort Arrays a c = c + (x / a[0]) c c + (x / a[0]) c (x / a[0]) x a[0] a 0 System.out.println(c) System.out.println System.out System System.out c String args[] args public class Main
{
    public static void main(String args[])
    {
        Scanner scn = new Scanner(System.in);
        int n = scn.nextInt();
        int a[] = new int[n];
        int x = scn.nextInt();
        int c = n;
        for (int i = 0; i < n; i++)
        {
            a[i] = scn.nextInt();
            x -= a[i];
        }
        Arrays.sort(a);
        c = c + (x / a[0]);
        System.out.println(c);
    }
} public class Main
{
    public static void main(String args[])
    {
        Scanner scn = new Scanner(System.in);
        int n = scn.nextInt();
        int a[] = new int[n];
        int x = scn.nextInt();
        int c = n;
        for (int i = 0; i < n; i++)
        {
            a[i] = scn.nextInt();
            x -= a[i];
        }
        Arrays.sort(a);
        c = c + (x / a[0]);
        System.out.println(c);
    }
} Main
import java.util.Arrays;
import java.util.Scanner;

public class Main
{
    public static void main(String args[])
    {
        Scanner scn = new Scanner(System.in);
        int n = scn.nextInt();
        int a[] = new int[n];
        int x = scn.nextInt();
        int c = n;
        for (int i = 0; i < n; i++)
        {
            a[i] = scn.nextInt();
            x -= a[i];
        }
        Arrays.sort(a);
        c = c + (x / a[0]);
        System.out.println(c);
    }
}
