#include<bits/stdc++.h>
using namespace std;
int main()
{
    int i;
    double a,b,c;
    scanf("%d;%lf,%lf,%lf",&i,&a,&b,&c);
    int x=round((a*100));
    int y=round((b*100));
    int z=round((c*100));
    a=(double)x/100;
    b=(double)y/100;
    c=(double)z/100;
    printf("The each subject score of No. %d is %.2f, %.2f, %.2f.",i,a,b,c);
    return 0;
}