while True:
    try:
        scores=list(map(float,input().split()))
        sumn=sum(scores)
        scores.append(sumn)
        for x in scores:
            print('{:.1f}'.format(x),end=' ')
        print('')
    except:
        break