#include "bits/stdc++.h"
#include<unordered_map>
#include<unordered_set>
#pragma warning(disable:4996)
using namespace std;
using ld = long double;
template<class T>
using Table = vector<vector<T>>;
const ld eps = 1e-9;

//// < "D:\D_Download\Visual Studio 2015\Projects\programing_contest_c++\Debug\a.txt" > "D:\D_Download\Visual Studio 2015\Projects\programing_contest_c++\Debug\b.txt"

string to_string_keta(const long long int l, const int keta) {
	ostringstream oss;

	oss << std::setw(keta) << std::setfill('0') << l;

	return oss.str();
}
int main() {
	cout << fixed << setprecision(22);
	string st;
	while (getline(cin,st)) {
		int a = st.find(',');
		int b = st.find(',',a+1);
		const int num = stoi(st.substr(0, a));
		const ld wei = stold(st.substr(a + 1, b - a - 1));
		const ld hei = stold(st.substr(b + 1));
		const ld bmi = wei / hei / hei;
		if (bmi > 25 - eps)cout << num << endl;

	}

	return 0;
}