while 1:
try:
n = input()
if "." in n:
print("%6f" % float(n))
else:
print(n, end=" ")
except:
break
while 1:
try:
n = input()
if "." in n:
print("%6f" % float(n))
else:
print(n, end=" ")
except:
break