#include<iostream>
#include<string>
#include<algorithm>	
#include<cmath>
#include<map>
#include<vector>
#define int long long
using namespace std;
int test[51];
signed main() {
    int n; double a, b; char x, y;
    while (cin >> n >> x >> a >> y >> b) {
        if (a / b / b >= 25) {
            cout << n << endl;
        }
    }
}
