#include<cstdio>
#include<iostream>
#include<queue>

using namespace std;

int main(void){

	int num;
	double m,kg;
	queue<int> out;
	char gava;

	while(cin>>num>>gava>>kg>>gava>>m){
		if(kg/(m*m)>=25){
			out.push(num);
		}
	}

	while(!out.empty()){
		cout<<out.front()<<endl;
		out.pop();
	}

	return 0;
}