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