#include <iostream>
using namespace std;
double weight,height;
int main(){
	int n,tn;
	char tmp[2];
	while(1){
		if(cin.eof()) break;
		else cin >> n >> tmp[0] >> weight >> tmp[1] >> height;
		tn = weight / (height * height);
		if(tn >= 25.0) cout << n << endl;
	}
	return 0;
}