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

int main(void)
{
	string str;
	while (cin >> str)
	{
		int id;
		double kg, m;
		for (int i = 0; i < str.size(); i++) if (str[i] == ',') str[i] = ' ';
		stringstream ss(str);
		ss >> id >> kg >> m;
		double bmi = kg / (m * m);
		if (bmi >= 25.0) cout << id << endl;
	}
	return 0;
}
