#include <bits/stdc++.h>

using namespace std;

int main() {
    int s;
    double w, h;
    vector<int> ans;
    while (scanf("%d,%lf,%lf!", &s, &w, &h) != EOF) {
        double bmi = w / (h * h);
        if (bmi >= 25.0) ans.push_back(s);
    }

    for (int i = 0; i < ans.size(); i++)
        cout << ans[i] << endl;

    return 0;
}
