#include <iostream>
#include <cstdio>
using namespace std;

int main(){
    int n;
    double w,h;
    while(scanf("%d,%lf,%lf", &n, &w, &h) != -1){
        double bmi = w/h/h;
        cout << w << " " << h << endl;
        if(bmi >= 25)
            cout << n << endl;
    }
}
        
    