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

int main() {
  int n, x, a = 1000;
  cin >> n >> x;
  int m;
  for (int i = 0;i < n;i++) {
    cin >> m;
  	x -= m;
    a = min(a, m);
  }
  
  cout << n + x/a << endl;
  return 0;
}