#include<stdio.h>
struct Stu{
    int id;
    float  C_score;
    float Math_score;
    float English_score;
};

int main(){
    struct Stu s;
    do{
    scanf("%d ; %f , %f , %f",&s.id,&s.C_score,&s.Math_score,&s.English_score);
    }while((s.id>200000000||s.id<1)||(s.C_score>150||s.C_score<0)
           ||(s.English_score>150||s.English_score<0)
           ||(s.Math_score>150||s.Math_score<0));
    printf("The each subject score of No. %d is %.2f, %.2f, %.2f.",s.id,s.C_score,s.Math_score,s.English_score);
    return 0;
}