#include<stdio.h>
int i,n;
double x,y,z;
int seito[100],kekka[100];

void BMI(double x,double y,int i)
{
	z = x/(y*y);
	if(z >= 25)
	{
		kekka[i] = 1;
		return ;
	}
	return ;
}


int main()
{
	while(scanf("%d,%lf,%lf",&seito[i],&x,&y)!=EOF){
		BMI(x,y,i);
		if(kekka[i] == 1)
		{
			printf("%d\n",seito[i]);
		}
		else
		{
		}
		i++;
	}
	
	return 0;
}