#include<iostream>
#include<cstdio>

using namespace std;

int main(void)
{
	int num;
	double weight, height, bmi;
	
	while(scanf("%d,%lf,%lf", &num, &weight, &height) != EOF ){
		printf("%d %f %f\n", num, weight, height);
		bmi = weight / (height * height);
		
		if(bmi >= 25)
		cout << num << endl;
	}
	return 0;
}