j, m, b = map(int, input().split(",")) tot = j+m+b ave = int(tot * 10 / 3) save = str(ave) if len(save) == 1: save += '0' print(f"合計点:{tot}") print(f"平均点:{save[:-1]}.{save[-1]}")