#include <cstdio>
#include <iostream>
using namespace std;

int main()
{
	int n;
	double w, h;
	
	while (scanf("%d,%lf,%lf", &n, &w, &h) != EOF){
		if (w / (h * h) >= 25.0){
			cout << n << endl;
		}
	}
	
	return (0);
}