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

int main() {
	int s;
	double w, h;
	char t;

	vector<int> v;
	while (cin >> s) {
		cin >> t >> w >> t >> h;

		if (w / (h * h) >= 25) v.push_back(s);
	}

	for (int var : v) {
		cout << var << endl;
	}
	return 0;
}