import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.HashSet;

public class Main
{
    
    public static void main(String[] args) throws IOException
    {
        BufferedReader r = new BufferedReader(new InputStreamReader(System.in), 1);
        String s = r.readLine();
        String[] sl = s.split("[\\s]+");
        int n = Integer.parseInt(sl[0]);
        int x = Integer.parseInt(sl[1]);
        
        int min = 999999;
        int sum = 0;
        
        for(int i = 0; i < n; i++)
        {
          int z = Integer.parseInt(r.readLine());
          sum += z;
          min = Math.min(min, z);
        }
        
        System.out.println(n + (x - sum) / min);
        
    }
    
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.HashSet; HashSet java.util public class Main
{
    
    public static void main(String[] args) throws IOException
    {
        BufferedReader r = new BufferedReader(new InputStreamReader(System.in), 1);
        String s = r.readLine();
        String[] sl = s.split("[\\s]+");
        int n = Integer.parseInt(sl[0]);
        int x = Integer.parseInt(sl[1]);
        
        int min = 999999;
        int sum = 0;
        
        for(int i = 0; i < n; i++)
        {
          int z = Integer.parseInt(r.readLine());
          sum += z;
          min = Math.min(min, z);
        }
        
        System.out.println(n + (x - sum) / min);
        
    }
    
} Main public static void main(String[] args) throws IOException
    {
        BufferedReader r = new BufferedReader(new InputStreamReader(System.in), 1);
        String s = r.readLine();
        String[] sl = s.split("[\\s]+");
        int n = Integer.parseInt(sl[0]);
        int x = Integer.parseInt(sl[1]);
        
        int min = 999999;
        int sum = 0;
        
        for(int i = 0; i < n; i++)
        {
          int z = Integer.parseInt(r.readLine());
          sum += z;
          min = Math.min(min, z);
        }
        
        System.out.println(n + (x - sum) / min);
        
    } main {
        BufferedReader r = new BufferedReader(new InputStreamReader(System.in), 1);
        String s = r.readLine();
        String[] sl = s.split("[\\s]+");
        int n = Integer.parseInt(sl[0]);
        int x = Integer.parseInt(sl[1]);
        
        int min = 999999;
        int sum = 0;
        
        for(int i = 0; i < n; i++)
        {
          int z = Integer.parseInt(r.readLine());
          sum += z;
          min = Math.min(min, z);
        }
        
        System.out.println(n + (x - sum) / min);
        
    } BufferedReader r = new BufferedReader(new InputStreamReader(System.in), 1); r new BufferedReader(new InputStreamReader(System.in), 1) String s = r.readLine(); s r.readLine() r.readLine r String[] sl = s.split("[\\s]+"); sl s.split("[\\s]+") s.split s "[\\s]+" int n = Integer.parseInt(sl[0]); n Integer.parseInt(sl[0]) Integer.parseInt Integer sl[0] sl 0 int x = Integer.parseInt(sl[1]); x Integer.parseInt(sl[1]) Integer.parseInt Integer sl[1] sl 1 int min = 999999; min 999999 int sum = 0; sum 0 for(int i = 0; i < n; i++)
        {
          int z = Integer.parseInt(r.readLine());
          sum += z;
          min = Math.min(min, z);
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
          int z = Integer.parseInt(r.readLine());
          sum += z;
          min = Math.min(min, z);
        } {
          int z = Integer.parseInt(r.readLine());
          sum += z;
          min = Math.min(min, z);
        } int z = Integer.parseInt(r.readLine()); z Integer.parseInt(r.readLine()) Integer.parseInt Integer r.readLine() r.readLine r sum += z sum z min = Math.min(min, z) min Math.min(min, z) Math.min Math min z System.out.println(n + (x - sum) / min) System.out.println System.out System System.out n + (x - sum) / min n (x - sum) / min (x - sum) x sum min String[] args args public class Main
{
    
    public static void main(String[] args) throws IOException
    {
        BufferedReader r = new BufferedReader(new InputStreamReader(System.in), 1);
        String s = r.readLine();
        String[] sl = s.split("[\\s]+");
        int n = Integer.parseInt(sl[0]);
        int x = Integer.parseInt(sl[1]);
        
        int min = 999999;
        int sum = 0;
        
        for(int i = 0; i < n; i++)
        {
          int z = Integer.parseInt(r.readLine());
          sum += z;
          min = Math.min(min, z);
        }
        
        System.out.println(n + (x - sum) / min);
        
    }
    
} public class Main
{
    
    public static void main(String[] args) throws IOException
    {
        BufferedReader r = new BufferedReader(new InputStreamReader(System.in), 1);
        String s = r.readLine();
        String[] sl = s.split("[\\s]+");
        int n = Integer.parseInt(sl[0]);
        int x = Integer.parseInt(sl[1]);
        
        int min = 999999;
        int sum = 0;
        
        for(int i = 0; i < n; i++)
        {
          int z = Integer.parseInt(r.readLine());
          sum += z;
          min = Math.min(min, z);
        }
        
        System.out.println(n + (x - sum) / min);
        
    }
    
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.HashSet;

public class Main
{
    
    public static void main(String[] args) throws IOException
    {
        BufferedReader r = new BufferedReader(new InputStreamReader(System.in), 1);
        String s = r.readLine();
        String[] sl = s.split("[\\s]+");
        int n = Integer.parseInt(sl[0]);
        int x = Integer.parseInt(sl[1]);
        
        int min = 999999;
        int sum = 0;
        
        for(int i = 0; i < n; i++)
        {
          int z = Integer.parseInt(r.readLine());
          sum += z;
          min = Math.min(min, z);
        }
        
        System.out.println(n + (x - sum) / min);
        
    }
    
}
