#include<iostream>
#include<math.h>
#include<vector>
#include<algorithm>
#include<cstdio>
using namespace std;

int main(){
int s;
double w,h,BMI;
char p;

while(cin>>s>>p>>w>>p>>h){
    BMI=w/(h*h);

    if(BMI>=25){
        cout<<s<<endl;
    }
}
    return 0;
}
