#include <iostream>
using namespace std;
int main(void){
   int i;
   char ch;
   double w,h;
   while(cin >> i >> ch >> w >> ch >> h){
       if(w/h/h>=25.0){
           cout << i;
           cout << endl;
       }
   }
   return 0;
}
