#include<bits/stdc++.h>
using namespace std;

int main(){
	int n,x;cin>>n>>x;
	vector<int>v(n);
	int sum=0,cnt=n;
	for(auto&& u:v){cin>>u;sum+=u;}
	sort(begin(v),end(v));
	int rem=x-sum,mn=v.front();
	cnt+=rem/mn;
	cout<<cnt<<endl;
}
