#include <iostream>
#include <cstdio>
using namespace std;

int main(){
    double s,w,h;
    while(scanf("%lf,%lf,%lf", &s, &w, &h)!=EOF){
        if(w/h/h >= 25.0){
            cout << s << endl;
        }
    }
    return 0;
}

