import std.algorithm;
import std.array;
import std.conv;
import std.math;
import std.range;
import std.stdio;
import std.string;
import std.typecons;

T read(T)() { return readln.chomp.to!T; }
T[] reads(T)() { return readln.split.to!(T[]); }
alias readint = read!int;
alias readints = reads!int;

void main() {
    auto nx = readints;
    int n = nx[0], x = nx[1];
    int[] ms;
    for (int i = 0; i < n; i++) ms ~= readint;

    int min = ms.reduce!((a, b) => min(a, b));
    int ans = n + (x - ms.sum) / min;
    writeln(ans);
}
