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

int main()
{
	double num, t, w, flg;
	char ch;
	flg = 0;
	while (cin>>num>>ch>>w>>ch>>t)
	{
		if (w/(t*t)>=25)
		{
			cout << num << endl;
			flg = 1;
		}
	}
	if (flg=0)
	{
		cout << "該当なし" << endl;
	}
	return 0;
}