import std.stdio, std.algorithm, std.string, std.conv, std.array, std.range, std.math;
int readint() { return readln.chomp.to!int; }
int[] readints() { return readln.split.to!(int[]); }

void main() {
    int n, x;
    readf("%d %d\n", &n, &x);

    int[] a;
    foreach(i; 0..n) a ~= readint();
    writeln(n + (x - a.sum) / a.reduce!min);

    string _ = readln;
}