#include <iostream>

using namespace std;

int main(int argc, char const* argv[])
{
	double m,h,number;
	char comma;

	while( cin >> number >> comma >> m >> comma >> h ){
		if( m / ( h * h ) >= 25 ) cout << number << endl;
	}
	return 0;
}