#include<iostream>
#include<cstdio>
using namespace std;

int main()
{
	int i,gakuseki,tmp=-1;
	double W,L;
	double BMI;
	while(scanf("%d,%lf,%lf",&gakuseki,&W,&L))
	{
		if(tmp==gakuseki)
			break;
            tmp=gakuseki;
	    BMI=W/L/L;
	  
	   if(BMI>=25)
           cout<<gakuseki<<endl;
	}
	
return 0;



}