#include <iostream>

using namespace std;

int main()
{
	int s;
	double w, h;
	char dummy;
	
	while ( cin >> s >> dummy >> w >> dummy >> h ) {
		double bmi = w / (h*h);
		if (bmi >= 25.0) cout << s << endl;
	}
	
	return 0;
}