T = sum(map(int, input().split(","))) A = T / 3 print(f"合計点:{T}") print(f"平均点:{A:.1f}")