//whose bmi is more than or equal to 25
#include<iostream>
using namespace std;
int main() {
    int s; double w, h; //s is identity number
    char c1, c2;
    while (cin >> s >> c1 >> w >> c2 >> h) {
        //cout << w / h / h << endl;
        if (w / h / h >= 25) {
            cout << s << endl;
        }
    }
}

