#include <bits/stdc++.h>

using namespace std;

int main()
{
  int N, X; cin >> N >> X;

  vector<int> m(N);
  for (int i = 0; i < N; ++i) {
    cin >> m[i];
    X -= m[i];
  }

  cout << N + X / *min_element(m.begin(), m.end());
}