#include <iostream>
#include <vector>
#include <cstdio>
#include <stdio.h>
using namespace std;
int main(){
	vector<int> num;
	vector<double> h;
	vector<double> w;
	vector<double> bmi;
	int n;
	double height,weight;
	while(scanf("%d,%lf,%lf",&n,&weight,&height)!=EOF){
		num.push_back(n);
		h.push_back(height);
		w.push_back(weight);
		bmi.push_back(weight/height/height);
	}
	int c=0;
	for(int i=0;i<num.size();i++){
		if(bmi[i]>=25.0){
			c++;
			cout<<num[i]<<endl;
		}
	}
	if(c==0)
		cout<<"該当なし"<<endl;
	return 0;
}