 #include<iostream>
 #include<stdio.h>
 #include<string>
 #include<math.h>
 #include<iomanip>
 #include<algorithm>
 #include<string.h>
 #include<cctype>
 #include<map>
 #include<set>
 #include<vector>
 #include<sstream>
 #include<stack>
 #include<queue>
 #include<deque>
 #include<functional>
 #include<utility>
 
 using namespace std;
 
 int main()
 {
   int num;
   double w,h;
   map<int,double> mm;
   map<int,double>::iterator iter;
   char temp1,temp2;
   while(cin>>num>>temp1>>w>>temp2>>h) mm[num]=w/(pow(h,2));                       
   for(iter=mm.begin();iter!=mm.end();++iter)
   {
     if(iter->second>=25) cout<<iter->first<<endl;                                          
   }
   //while(1);
   return 0; 
 }

 