#define _USE_MATH_DEFINES
#define _CRT_SECURE_NO_WARNINGS

#include <iostream>
#include <string>
#include <sstream>
#include <iomanip>
#include <cmath>
#include <cstring>
#include <cstdlib>
#include <algorithm>
#include <stack>
#include <queue>
#include <vector>
#include <list>
#include <set>
#include <map>
#include <bitset>
#include <utility>
#include <numeric>

using namespace std;

using ll = long long;
using ull = unsigned long long;

const ll inf = (ll)1e9;
const ll mod = (ll)1e9 + 7;

int main()
{
	string s;
	vector<int> a;
	while (cin >> s)
	{
		stringstream ss;
		ss << s;

		int id;
		double w, h;
		ss >> id;
		ss.ignore();
		ss >> w;
		ss.ignore();
		ss >> h;

		if (w / (h * h) >= 25.0)
		{
			a.push_back(id);
		}
	}

	for (int i : a)
	{
		cout << i << endl;
	}
}

