#include <iostream>
#include <cstdio>

using namespace std;

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