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

int main()
{	
	string s;

	while (cin >> s) {
		int nb, p, q;
		double w, h;

		p = s.find(",");
		q = s.find(",", p + 1);

		nb = stoi(s.substr(0, p));
		w = stod(s.substr(p + 1, q - p));
		h = stod(s.substr(q + 1, s.size() - q));

		if (w / (h * h) >= 25)
			cout << nb << endl;
	}

	return 0;
}

