j, m, b = map(int, input().split(',')) print(f"合計点:{j + m + b}") print(f"平均点:{(j + m + b) / 3:.1f}")