e, d, b, f = 5488, 0, 0, 0 a = [0 for i in range(165)] while e > 0: for i in range(164, -1, -1): b = round((a[i] % 1) * e + d / 1e5, 6) c = round((int(a[i]) * e + int(b)) / 1e5, 6) d = int(c) a[i] = round((c - d) * 1e5 + b % 1, 6) e = 2 * e + 1 for i in range(165): b = int((d * 1e5 + int(a[i])) / e) d = round(d * 1e5 + int(a[i]) - b * e, 6) c = int(((d + round(a[i] % 1, 6)) * 1e5) / e) d = round((d + round(a[i] % 1, 6)) * 1e5 - c * e, 6) a[i] = round(b + c / 1e5, 6) a[0] = round(a[0] + 2e4, 6) e = (e - 3) / 2 d = 0 if e % 1000 == 0: print(e) for i in range(165): s = ("000000"+str(int(a[i]*1e5)))[-10:] print(s) if i % 10 == 0 and i > 0: input()