#include <iostream>
using namespace std;

int main() {
	int N, X, m, min = 1000, count = 0;
	cin >> N >> X;
	for (int i = 0; i < N; i++) {
		cin >> m;
		count += m;
		if (min > m) min = m;
	}
	cout << N + (X - count) / min << endl;
}
