#include <stdio.h>
int main()
{
int a,x;
double b,c,d;
scanf("%d;%lf,%lf,%lf",&a,&b,&c,&d);
x=(int)(b*1000)%10;
if(x>=5)
{
double y;
y=(int)((b+0.01)*100)/100.0;
printf("The each subject score of No. %d is %.2lf, %.2lf, %.2lf.",a,y,c,d);
}
else
{
double z;
z=(int)(b*100)/100.0;
printf("The each subject score of No. %d is %.2lf, %.2lf, %.2lf.",a,z,c,d);
}
return 0;
}