#include <iostream>
using namespace std;

/** Problem0075 : BMI **/
int main()
{
	int stnum, output=0;
	double weight, height;
	char comma;
	
	while (1) {
		cin >> stnum >> comma >> weight >> comma >> height;
		if (cin.eof()) break;
		if (weight / (height*height) >= 25) {
			cout << stnum << endl;
			output=1;
		}
	}
	if (output==0)
		cout << "該当なし" << endl;
	
	return 0;
}