#include<iostream>
#include<cstdio>
#include<algorithm>
#include<string>
#include<cmath>
using namespace std;
int num,stu[10000],cou;
double w,t,a;
int main(){
    while(scanf("%d,%lf,%lf",&num,&w,&t)!=EOF){
        a=t*t;
        stu[num]=w/a;
        cou++;
    }
    for(int i=1001;i<1001+cou;i++){
        if(stu[i]>=25)cout<<i<<endl;
    }
return 0;
}