#include <iostream>

using namespace std;

int main()
{
    long long stdno;
    double w, h;
    char ch;

    while (cin >> stdno >> ch >> w >> ch >> h) {
        if (w / (h * h) >= 25.0)
            cout << stdno << endl;
    }

    return 0;
}