include<iostream>
#include<vector>
#include<string>
#include<set>
#include<map>
#include<algorithm>
#include<queue>
#include<list>
#include<stack>
#include<cstdio>
#include<fstream>
#include<numeric>
#include<functional>
#include<utility>
#include<memory>
#include <cstring>
#include<bits/stdc++.h>
using namespace std;   
int main()
{
	int n,k,sum=0,ans=0,mn=9999999;
	cin>>n>>k;
	int a[1000];
	for (int i=0;i<n;i++)
	{
		cin>>a[i];
		sum=sum+a[i];
	}
	k=k-sum;
	ans+=n;
	sort(a,a+n);
	ans=ans+k/a[0];
	cout<<ans<<endl;
	return 0;
}