#include <iostream>
#include <vector>
#include <algorithm>

using namespace std;

int main(){

	int num;
	double weight,length;
	char ch;

	vector<int> v;
	while(cin>>num>>ch>>weight>>ch>>length){
		if((weight/(length*length))>=25.0){
			v.push_back(num);
		}
	}
	for(int i= 0; i < v.size(); i++)
		cout<<v[i]<<endl;

	return 0;
}