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

int main(){

    int number;
    char c;
    double weight,tall;
    vector<int> ans;

    while(cin >> number >> c >> weight >> c >> tall){
        if(weight/(tall*tall) >= 25.0){
            ans.push_back(number);
        }
    }

    vector<int>::iterator it = ans.begin();

    for(;it != ans.end();){
        cout << *it << endl;
        it++;
    }

    return 0;
}