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