n, d = io.read("*n", "*n") for i = 1, n do _u = io.read("*n") end v = 0 for i = 1, n do v = v + io.read("*n") end print(math.ceil(d / v))