#include<iostream>
#include<map>
#include<vector>
using namespace std;
int main(){
        vector<int> over;
        map<int,int> student;
        float w,h,bmi;
        int num;
        char cn,cn1;
        while(cin>>num>>cn1>>w>>cn>>h){
                h *= h;
                bmi = w / h;
                student.insert(map<int,int>::value_type(num,bmi));
        }
        map<int,int>::iterator it=student.begin();
        for(;it!=student.end();it++){
                if( (*it).second >=25) over.push_back((*it).first);
        }
        for(int i=0;i<over.size();i++) cout<<over[i]<<endl;
}