#include<iostream>
#include<vector>
#include<cstdio>
#include<cmath>
using namespace std;

struct data{
	int number;
	double weight;
	double tall;
};

int main(){
	data dt;
	while(scanf("%d,%lf,%lf",&dt.number,&dt.weight,&dt.tall)!=EOF){
		if(dt.weight/pow(dt.tall,2)>=25)cout<<dt.number<<endl;
	}
	return 0;
}