#include <iostream>
#include <cstdio>

using namespace std;

int main() {
    double s, w, h;
    while (scanf("%lf,%lf,%lf", &s, &w, &h) != EOF) {
        if (w / (h*h) >= 25) {
            cout << s << endl;
        }
    }

    return 0;
}