#include <iostream>
#include <queue>

using namespace std;

int main(){
	queue<int> data;
	double bmi;
	double weight,height;
	char tmp;
	int num;
	while(cin>>num){
	//	if(num==0)break;
		cin>>tmp;
		cin>>weight;
		cin>>tmp;
		cin>>height;

		bmi = weight/(height*height);

		if(bmi >= 25.0){
			data.push(num);
		}
	}
	int size = data.size();
	for(int i=0;i<size;i++){
		cout<<data.front()<<endl;
		data.pop();
	}

	return 0;
}
/*
Sample Input
1001,50.0,1.60 
1002,60.0,1.70 
1003,70.0,1.80 
1004,80.0,1.70 
1005,90.0,1.60 
Output for the Sample Input
1004
1005 
*/