#include<cstdio>
int numcheck[10000]={0};
using namespace std;
int main(){
    int num;
    double kg,m;
    int x = 0;
    while(scanf("%d,%lf,%lf",&num,&kg,&m)!=EOF){
        if(kg /(m*m) >= 25.0){
            numcheck[x] = num;
            x++;
        }
    }
    for(int i = 0;i < x; i++)printf("%d\n",numcheck[i]);
    return 0;
}