#include<bits/stdc++.h>
using namespace std;

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