#include<iostream>
#include<string>
#include<string>
#include<iomanip>
#include<cstdio>
using namespace std;

int main()
{
    long stuNo;
    float cScore=0, mathScore=0, enScore=0;
    scanf("%ld;%f,%f,%f", &stuNo ,&cScore ,&mathScore ,&enScore);
    std::cout.setf(ios::fixed);
    std::cout << "The each subject score of  No. " << stuNo
        << " is " << setprecision(2) << cScore << ", " << setprecision(2) << mathScore << ", " << setprecision(2) << enScore<<".";

    return 0;
}