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

int main(void){
	int n, X;
	int m = 1e9;
	cin >> n >> X;
	for(int i = 0; i<n; i++){
		int t;
		cin >> t;
		m = min(m,t);
		X -= t;
	}
	cout << n+floor(X/m) <<endl;
	
	return 0;
}