while True:
try:
num = list(map(float, input().split()))
for i in num:
print(f"{i:.1f}", end=" ")
print(f"{sum(num):.1f}")
except:
break
while True:
try:
num = list(map(float, input().split()))
for i in num:
print(f"{i:.1f}", end=" ")
print(f"{sum(num):.1f}")
except:
break