#include <iostream>
#include <iomanip>
#include <vector>
#include <string>
#include <stack>
#include <queue>
#include <deque>
#include <set>
#include <map>
#include <algorithm>
#include <sstream>
#include <cstdlib>
#include <cstring>
#include <functional>
#include <numeric>
#include <cmath>
#include <climits>
#include <limits>
#include <cfloat>
#include <fstream>
using namespace std;

int main()
{
//	cut here before submit 
//	freopen("testcase.bmi", "r", stdin);
	string str = "";
	while (getline (cin, str ) ){
		if (str.empty() ){
			break;
		} // end if
		while (str.find(',') != string::npos ){
			str = str.replace(str.find(','), 1, " ");
		} // end while
		int index;
		double hight, wight, bmi;
		stringstream ss(str);
		ss >> index >> wight >> hight;
//		cout << "index: " << index << " hight: " << hight << " wight: " << wight;
//		bmi = (double)wight/((double)hight*(double)hight);
//		cout << " bmi: " << bmi << endl;
		if ((double)wight >= 25.0*(double)hight*(double)hight){
			cout << index << endl;
		} // end if
	} // end loop

	return 0;
}