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

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

	while (scanf("%d,%lf,%lf", &num, &w, &h) != EOF){
		if (w / (h * h) >= 25.0){
			cout << num << endl;
		}
	}

	return (0);
}