#include <iostream>

using namespace std;

int main(){
        int n;
        double w,h;
        char c,d;
        while(cin >> n >> c >> w >> d >> h){ 
                if(w/h/h>=25) cout << n << endl;
        }   
}