#include<iostream>
#include<string>
#include<stdio.h>
#include<cstdio>
#include<math.h>
using namespace std;
int main(){
    double s,w,h;
    char ch;
    while(cin>>s>>ch>>w>>ch>>h){
        if(w/(h*h)>=25){
            cout<<s<<endl;
        }
    }
    return 0;
}