import std.stdio, std.conv, std.string, std.algorithm, std.array;


void main()
{
  long n, x;
  readf("%d %d\n", &n, &x);
  long[] ms;
  foreach (i; 0..n) {
    ms ~= readln.strip.to!long;
  }

  ms = ms.sort().array;
  foreach (m; ms) {
    x -= m;
  }

  writeln(n + x/ms[0]);
}
