#include<iostream>
using namespace std;
int main(){
	char c;
	int num;
	double weight,height;
	int bmi;
	while(cin>>num>>c>>weight>>c>>height){
		bmi=weight/(height*height);
		if(bmi>=25)cout<<num<<endl;	
	}
}