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