height = float(input()) total = 0.0 for _ in range(5): total += height height = height / 2 total += height print(total - height) print(height)
height = float(input()) total = 0.0 for _ in range(5): total += height height = height / 2 total += height print(total - height) print(height)