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

int main() {
    int id;
    char ch;
    float score_c;
    float score_math;
    float score_english;

    cin >> id >> ch >> score_c >> ch >> score_math >> ch >> score_english;
    
    cout << fixed << setprecision(2);
    cout << "The each subject score of No. " << id << " is " << score_c << ", " <<
         score_math << ", " <<
         score_english << "." << endl;
}