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

int main()
{
    int stnum;
    char t;
    double w,h;
    list<int> himan;
    while(cin >> stnum >> t >> w>>t>>h)
    {
        if(w/h/h >= 25)
            himan.push_back(stnum);
    }
    if(himan.size()==0)cout << "ツ該ツ督鳴づ按つオ"<<endl;
    else
    {
        for(list<int>::iterator it=himan.begin();it!=himan.end();++it)
        {
            cout << *it<< endl;
        }

    }
    return 0;
}