#include<iostream>
using namespace std;

int main(){
	int n,x,m;
	int small=1001;

	cin >>n >>x;
	for(int i=0;i<n;i++){
		cin >>m;
		x-=m;
		if(small>m)small=m;
	}
	cout<<n+x/small<<endl;
	return 0;

}