#include<bits//stdc++.h>
using namespace std;
int main(){
	int a;
	double b,c;
	while(true){
		scanf("%d,%lf,%lf",&a,&b,&c);
		if(cin.fail())break;
		if(c==0) break;
		if(b/(c*c)>=25) cout<<a<<endl;
	}
}