#include <iostream>
#define rep(i, n) for(int i = 0; i < n; i++)
using namespace std;

int main() {
    double hei, wei;
    int num;
    char c1, c2;

    while (cin >> num) {
        cin >> c1 >> wei >> c2 >> hei;
        if (wei / hei / hei >= 25) {
            cout << num << endl;
        }
    }
}