#include <iostream>

using namespace std;

void solve()
{
	int Num = 0;
	double mass = 0;
	double height = 0;
	while(~scanf("%d,%lf,%lf/n", &Num, &mass, &height))
	{
		if(mass / (height * height) >= 25.0)
		{
			cout << Num << endl;
		}
	}
}

int main()
{
	solve();
	return(0);
}