#include <iostream>
#include <vector>
#include <algorithm>
#include <string>
#include <cstdio>
#include <cmath>
using namespace std;

int main()
{
	int n;
	double kg, m;

	while(scanf("%d, %lf,%lf", &n, &kg, &m) != EOF){
		if (kg / (m * m) >= 25)
		{
			cout << n << endl;
		}
	}

}