// BMI

#include <iostream>
#include <map>
#include <cstdio>

using namespace std;

int main(void)
{
	map<int, double> students; // 学籍番号とBMI
	int num;
	double weight, height;
	double BMI;

	while (scanf("%d,%lf,%lf", &num, &weight, &height) == 3) {
		BMI = weight / (height * height);

		students.insert(make_pair(num, BMI));
	}

	for (map<int, double>::const_iterator it = students.begin();
		it != students.end(); it++) {
		if ((*it).second >= 25.0) {
			cout << (*it).first << endl;
		}
	}

	return 0;
}