info = input().split(";") number,src = info[0],[float(i)+0.0001 for i in info[1].split(",")] print("The each subject score of No. {} is {:.2f}, {:.2f}, {:.2f}.".format(number,src[0],src[1],src[2]))
info = input().split(";") number,src = info[0],[float(i)+0.0001 for i in info[1].split(",")] print("The each subject score of No. {} is {:.2f}, {:.2f}, {:.2f}.".format(number,src[0],src[1],src[2]))