#include<cstdio>
#include<cmath>
#include<algorithm>
#include<iostream>
#include<string>
#include <vector>
#include <map>
#include<cstdlib>


using namespace std;

void Solution()
{
    int number;
    double w, t;
    
    char comma;
    
    while (cin>>number>>comma>>w>>comma>>t)
    {
        if (w / (t * t) >= 25.0)  // don't forget the "( )"
        {
            cout<<number<<endl;
        }
    }
    
}

int main()
{
    Solution();
    return 0;
}