i,s=input().split(";")
a,b,c=map(lambda x:round(float(x)+0.0001,2),s.split(","))
print(f"The each subject score of No. {i} is {a:.2f}, {b:.2f}, {c:.2f}.")

float(80.845) 实际存储的是 80.84499999999999(而非精确的 80.845