#include<iostream>
using namespace std;

int main()
{
    int s;
    double w, h;
    char p;

    while( cin >> s >> p >> w >> p >> h )
    {
        double bmi = w / ( h * h );
        if( bmi >= 25 )
            cout << s << endl;
    }

    return 0;
}
