#include<bits/stdc++.h>
using namespace std;
int main() {
    int number;
    char ch;
    float c_score = 0.f, math_score = 0.f, english_score = 0.f;
    cin >> number >> ch >> c_score >> ch >> math_score >> ch >> english_score;
    cout << fixed;
    cout << "The each subject score of No. " << number << " is " << setprecision(
             2) << c_score << ", " << math_score << ", " << english_score << "." << endl;
    return 0;
}