#include <cstdio>
#include <cstring>
#include <algorithm>
#include <string>
#include <cmath>
#include <stack>
#include <vector>
#include <map>
#include <set>
#include <queue>
#include <list>
#include <iostream>
#include <climits>
#include <cfloat>

using namespace std;

int main()
{
	int n;
	double w, h;
	while (scanf("%d,%lf,%lf\n", &n, &w, &h) != EOF)
	{
		if (w/(h*h) >= 25)
			printf("%d\n", n);
	}

	return 0;
}