#include <iostream>
#include <stdio.h>
#include <vector>

using namespace std;

void solve()
{
	int num;
	double weight, height;
	vector<int> Vec;
	while(scanf("%d,%lf,%lf", &num, &weight, &height) != EOF)
	{
		if(weight / height / height >= 25)
		{
			Vec.push_back(num);
		}
	}
	if(Vec.size())
	{
		for(int i = 0; i < Vec.size(); ++i)
		{
			cout << Vec[i] << endl;
		}
	}
	else
	{
		cout << "該当なし" << endl;
	}
}

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