#include <iostream>
using namespace std;

int main() {
	int n,x;cin>>n>>x;
	int m[n];
	int min=10000;
	for(int i=0;i<n;i++){
		cin>>m[i];
		x-=m[i];
		if(min>m[i])min=m[i];
	}
	int ans=n;
	ans+=x/min;
	cout<<ans<<endl;

	return 0;
}
