#include <iostream>
#include <set>

using namespace std;

double calc(double w, double h) {
    return w / (h * h);
}

int main() {
    double weight, height; // 体重、身長
    int num; //学籍番号
    char d; //dummy

    set<int> fats; // 肥満児の学籍番号

    while (cin >> num >> d >> weight >> d >> height) {
        if (calc(weight, height) >= 25.0) {
            fats.insert(num);
        }
    }

    for (set<int>::iterator i = fats.begin(); i != fats.end(); i++) {
        cout << *i << endl;
    }
    
    return 0;
}