a,b,c = int(input().split(",")) print("合計点:"+ a+b+c) print("平均点:"+ (a+b+c)/3)