#include <iostream>
#include <sstream>
#include <cstdio>
#include <cstdlib>
#include <cmath>
#include <cstring>
#include <string>
#include <vector>
#include <stack>
#include <queue>
#include <set>
#include <map>
#include <algorithm>
#include <functional>

using namespace std;

int main()
{
	string buffer;

	while ( cin >> buffer )
	{
		for ( unsigned i = 0; i < buffer.length(); i++ )
		{
			if ( buffer[i] == ',' )
			{
				buffer[i] = ' ';
			}
		}

		int num;
		double weight, height;

		istringstream( buffer ) >> num >> weight >> height;

		if ( 25 <= weight / pow( height, 2 ) )
		{
			cout << num << endl;
		}
	}

	return 0;
}