x = int(input().strip())
print(sum([x / (2 ** (n - 2)) for n in range(1, 6)]) - x)
print(x / (2 ** 5))
数学题。