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