R=list(map(int,input().split(","))) print(f"合計点:{sum(R)}") print(f"平均点:{round(sum(R)/len(R),1)}")