#include <iostream>
#include <list>
using namespace std;

int main()
{
	list<int> noList;
	int i, no;
	double w, h;
	char c;

	while (1)
	{
		cin >> no;
		if (cin.eof()) break;
		cin >> c >> w >> c >> h;
		if (w / (h * h) >= 25)
			noList.push_back(no);
	}

	while (!noList.empty())
	{
		cout << noList.front() << endl;
		noList.pop_front();
	}
	return 0;
}