#include <stdio.h>

int main()
{
    int number;
    float c_score, math_score, english_score;
    scanf("%d;%f,%f,%f", &number, &c_score, &math_score, &english_score);
    printf("The each subject score of No. %d is %.2f, %.2f, %.2f.", number, c_score, math_score, english_score);
    return 0;
}