#include <iostream>
#include <algorithm>
using namespace std;
int main(){
    int s;
    char a;
    double w,h;
    while(cin>>s>>a>>w>>a>>h){
        if(w/h/h>=25)
            cout<<s<<endl;
        }
   
    }
