#include <cstdio>

#include <iomanip>

#include <iostream>

#include <cmath>

using namespace std;

int main() {

    int a;

    float b, c, d;

    scanf("%d;%f,%f,%f",&a,&b,&c,&d);//scanf里要严格遵循输入格式,传参之间的标点符号还是空格都得谨慎选择

    // cout << "The each subject score of No. " << a << " is " << fixed << setprecision(2) << b+ 1e-9 << ", " << c + 1e-9<< ", " << d + 1e-9<< ".";

    printf("The each subject score of No. %d is %.2f, %.2f, %.2f.",a, round(b * 100) / 100.0,round(c*100)/100.0,round(d*100)/100.0);

//唯有使用round(对整数进入四舍五入)这一工具,才能实现小数部分真正的四舍五入,其他的setprecision(2)并不能起到四舍五入的作用

}