#include <stdio.h>

int main()
{
    int xuehao = 0;
    float cyuyan = 0.0f;
    float shuxue = 0.0f;
    float yingyu = 0.0f;
 
    scanf("%d;%f,%f,%f",&xuehao,&cyuyan,&shuxue,&yingyu);

    if(xuehao >= 1 && xuehao <= 20000000)
        printf("The each subject score of No. %d is %.2f, %.2f, %.2f.",xuehao,cyuyan,shuxue,yingyu);

    return 0;
}