#include <iostream>
#include <cstdio>

using namespace std;

int main()
{
	int num;
	double w, h;
	char c;

	while(scanf("%d", &num) != EOF){
		cin >> c >> w >> c >> h;
		if((double) w / h / h >= 25){
			cout << num << endl;
		}
	}

	return 0;
}