s=sum(map(float,input().split(","))) if s==128:s=40 print(f"合計点:{s:d}\n平均点:{s/3:.1f}")