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

struct mdata {
    int student;
    double weight;
    double height;
    double bmi;
};

mdata bmi(mdata buff)
{
    buff.bmi = buff.weight / (buff.height * buff.height);
    return buff;
}

int main()
{
    vector<mdata> data;
    vector<mdata>::iterator it;
    mdata buff;
    char ch;
    while(cin >> buff.student >> ch >> buff.weight >> ch >> buff.height)
        data.push_back(buff);
    transform(data.begin(),data.end(),data.begin(),bmi);
    for(it = data.begin(); it != data.end(); it++)
        if((*it).bmi >= 25) cout << (*it).student << endl;

    return EXIT_SUCCESS;
}