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

int main(void){
	vector<int> num;
	int n;
	double w;
	double h;
	double bmi;

	while(scanf("%d,%lf,%lf", &n, &w, &h) != EOF){
		bmi = w/(h*h);
		if(bmi >= 25) num.push_back(n);
	}

	for(int i=0; i<num.size(); i++){
		printf("%d\n", num[i]);
	}
	
	return 0;
}