数值计算

score1,score2,score3=input().split(" ")
total_score=float(score1)+float(score2)+float(score3)
avg_score=total_score/3
print("{:.2f} {:.2f}".format(total_score,avg_score))