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