#include <iostream>
#include <vector>
#include <list>
#include <algorithm>
#include <string>
#include <sstream>
#include <stack>
#include <iomanip>
#include <numeric>
#include <queue>
#include <climits>
#include <set>
#include <complex>
#include <cmath>
#include <cstring>
#include <map>
using namespace std;
using ll = long long;
#define MOD 1000000007
#define INF 1LL << 59

const int maxT = 3600 * 2;
int main()
{
    //std::ios::sync_with_stdio(false);
    //std::cin.tie(0);
    //cout << fixed << setprecision(7);

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

    for (auto e : ans)
        cout << e << endl;
    return 0;
}
