

import java.io.*;
import java.util.*;

public class Main{
	public static void main(String []args)
	{
		int n,x,y;
		int []moto=new int [1005];
		Scanner cin=new Scanner(System.in);
		while(cin.hasNext())
		{
			n=cin.nextInt();
			x=cin.nextInt();
			long  sum=0;
			int min=0x6FFFF;
			for(int i=0;i<n;i++)
			{
				moto[i]=cin.nextInt();
				sum+=moto[i];
				if(min>moto[i])
					min=moto[i];
			}
			int ans=n;
			x-=sum;
			ans+=x/min;
			System.out.println(ans);
			
		}
	}
} import java.io.*; io.* java import java.util.*; util.* java public class Main{
	public static void main(String []args)
	{
		int n,x,y;
		int []moto=new int [1005];
		Scanner cin=new Scanner(System.in);
		while(cin.hasNext())
		{
			n=cin.nextInt();
			x=cin.nextInt();
			long  sum=0;
			int min=0x6FFFF;
			for(int i=0;i<n;i++)
			{
				moto[i]=cin.nextInt();
				sum+=moto[i];
				if(min>moto[i])
					min=moto[i];
			}
			int ans=n;
			x-=sum;
			ans+=x/min;
			System.out.println(ans);
			
		}
	}
} Main public static void main(String []args)
	{
		int n,x,y;
		int []moto=new int [1005];
		Scanner cin=new Scanner(System.in);
		while(cin.hasNext())
		{
			n=cin.nextInt();
			x=cin.nextInt();
			long  sum=0;
			int min=0x6FFFF;
			for(int i=0;i<n;i++)
			{
				moto[i]=cin.nextInt();
				sum+=moto[i];
				if(min>moto[i])
					min=moto[i];
			}
			int ans=n;
			x-=sum;
			ans+=x/min;
			System.out.println(ans);
			
		}
	} main {
		int n,x,y;
		int []moto=new int [1005];
		Scanner cin=new Scanner(System.in);
		while(cin.hasNext())
		{
			n=cin.nextInt();
			x=cin.nextInt();
			long  sum=0;
			int min=0x6FFFF;
			for(int i=0;i<n;i++)
			{
				moto[i]=cin.nextInt();
				sum+=moto[i];
				if(min>moto[i])
					min=moto[i];
			}
			int ans=n;
			x-=sum;
			ans+=x/min;
			System.out.println(ans);
			
		}
	} int n n x x y; y int []moto=new int [1005]; moto new int [1005] 1005 Scanner cin=new Scanner(System.in); cin new Scanner(System.in) while(cin.hasNext())
		{
			n=cin.nextInt();
			x=cin.nextInt();
			long  sum=0;
			int min=0x6FFFF;
			for(int i=0;i<n;i++)
			{
				moto[i]=cin.nextInt();
				sum+=moto[i];
				if(min>moto[i])
					min=moto[i];
			}
			int ans=n;
			x-=sum;
			ans+=x/min;
			System.out.println(ans);
			
		} cin.hasNext() cin.hasNext cin {
			n=cin.nextInt();
			x=cin.nextInt();
			long  sum=0;
			int min=0x6FFFF;
			for(int i=0;i<n;i++)
			{
				moto[i]=cin.nextInt();
				sum+=moto[i];
				if(min>moto[i])
					min=moto[i];
			}
			int ans=n;
			x-=sum;
			ans+=x/min;
			System.out.println(ans);
			
		} n=cin.nextInt() n cin.nextInt() cin.nextInt cin x=cin.nextInt() x cin.nextInt() cin.nextInt cin long  sum=0; sum 0 int min=0x6FFFF; min 0x6FFFF for(int i=0;i<n;i++)
			{
				moto[i]=cin.nextInt();
				sum+=moto[i];
				if(min>moto[i])
					min=moto[i];
			} int i=0; int i=0; i 0 i<n i n i++ i++ i {
				moto[i]=cin.nextInt();
				sum+=moto[i];
				if(min>moto[i])
					min=moto[i];
			} {
				moto[i]=cin.nextInt();
				sum+=moto[i];
				if(min>moto[i])
					min=moto[i];
			} moto[i]=cin.nextInt() moto[i] moto i cin.nextInt() cin.nextInt cin sum+=moto[i] sum moto[i] moto i if(min>moto[i])
					min=moto[i]; min>moto[i] min moto[i] moto i min=moto[i] min moto[i] moto i int ans=n; ans n 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)
	{
		int n,x,y;
		int []moto=new int [1005];
		Scanner cin=new Scanner(System.in);
		while(cin.hasNext())
		{
			n=cin.nextInt();
			x=cin.nextInt();
			long  sum=0;
			int min=0x6FFFF;
			for(int i=0;i<n;i++)
			{
				moto[i]=cin.nextInt();
				sum+=moto[i];
				if(min>moto[i])
					min=moto[i];
			}
			int ans=n;
			x-=sum;
			ans+=x/min;
			System.out.println(ans);
			
		}
	}
} public class Main{
	public static void main(String []args)
	{
		int n,x,y;
		int []moto=new int [1005];
		Scanner cin=new Scanner(System.in);
		while(cin.hasNext())
		{
			n=cin.nextInt();
			x=cin.nextInt();
			long  sum=0;
			int min=0x6FFFF;
			for(int i=0;i<n;i++)
			{
				moto[i]=cin.nextInt();
				sum+=moto[i];
				if(min>moto[i])
					min=moto[i];
			}
			int ans=n;
			x-=sum;
			ans+=x/min;
			System.out.println(ans);
			
		}
	}
} Main


import java.io.*;
import java.util.*;

public class Main{
	public static void main(String []args)
	{
		int n,x,y;
		int []moto=new int [1005];
		Scanner cin=new Scanner(System.in);
		while(cin.hasNext())
		{
			n=cin.nextInt();
			x=cin.nextInt();
			long  sum=0;
			int min=0x6FFFF;
			for(int i=0;i<n;i++)
			{
				moto[i]=cin.nextInt();
				sum+=moto[i];
				if(min>moto[i])
					min=moto[i];
			}
			int ans=n;
			x-=sum;
			ans+=x/min;
			System.out.println(ans);
			
		}
	}
}