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