#include <cstdio>
#include <iostream>
#include <sstream>
#include <string>


using namespace std;

string s,a="";
int n;
double x,h;
int p=0;


void string_num(string str) {
	stringstream sstream;
	sstream << str;
	sstream >> n;
}

void string_x(string str) {
	stringstream sstream;
	sstream << str;
	sstream >> x;
}

void string_h(string str) {
	stringstream sstream;
	sstream << str;
	sstream >> h;
}



int main(){
	while(cin >> s){

		while(s[p] != ','){
			a += s[p];
			p++;
			if(s[p] == ','){
				p++;
				string_num(a);
				a="";
				break;
			}
		}

		while(s[p] != ','){
			a += s[p];
			p++;
			if(s[p] == ','){
				p++;
				string_x(a);
				a="";
				break;
			}
		}


		while(s[p] != '\0'){
			a += s[p];
			p++;
			if(s[p] == '\0'){
				p=0;
				string_h(a);
				a="";
				break;
			}
		}

		if((x/(h*h)) >= 25){
			cout << n << endl;
		}


	}

}