#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, k, sum = 0, ans = 0, mn = 9999999;
  cin >> n >> k;
  int a[1000];
  for (int i = 0; i < n; i++) {
    cin >> a[i];
    sum = sum + a[i];
  }
  k = k - sum;
  ans += n;
  sort(a, a + n);
  ans = ans + k / a[0];
  cout << ans << endl;
  return 0;
}
