#include <stdio.h>

int main(void)
{
	unsigned int num[2000];
	double weight[2000],height[2000];
	int i=0;
	int qty;
	
	while((scanf("%d,%lf,%lf",&num[i],&weight[i],&height[i])) != EOF)
	{
		i++;
	}
	
	qty = i;
	
	for(i=0;i<=qty;i++)
	{
		if((weight[i] / (height[i] * height[i])) >= 25.0)
		{
			printf("%d\n",num[i]);
		}
	}
	
	return 0;
}
