#include <cstdio>

using namespace std;

int f[10000];

int main()
{
	int num;
	float weight,height;
	int i = 0;
	
	while(scanf("%d,%f,%f", &num, &weight, &height) != EOF){
		float bmi = weight / (height * height);
		
		if(bmi >= 25.0){
			f[i] = num;
			i++;
		}
	}
	
	for(int i = 0; f[i] != 0; i++){
		printf("%d\n", f[i]);
	}
	
	return(0);
}