#include <iostream>
#include <sstream>
#include <string>
#include <algorithm>
using namespace std;
int main( void )
{
	string line;
	while ( cin >> line )
	{
		replace( line.begin(), line.end(), ',', ' ' );
		istringstream is( line );
		int no;
		double w, h;
		is >> no >> w >> h;

		if ( ( w / ( h*h ) ) >= 25.0 )
			cout << no << endl;

	}
	return 0;
}