while True: try: A = list(map(float,input().split(' '))) print(f'{A[0]:.1f} {A[1]:.1f} {A[2]:.1f} {A[3]:.1f} {A[4]:.1f} {sum(A):.1f}') except: break
while True: try: A = list(map(float,input().split(' '))) print(f'{A[0]:.1f} {A[1]:.1f} {A[2]:.1f} {A[3]:.1f} {A[4]:.1f} {sum(A):.1f}') except: break