#include <iostream>
using namespace std;
int main() {
    int n;
    double w, h;
    char d;
    while (cin >> n >> d >> w >> d >> h) {
        if (w / (h * h) >= 25) {
            cout << n << "\n";
        }
    }
    return 0;
}