#include <iostream>
#include <cmath>

using namespace std;
int num,i=0;
double m,kg;
int main(void){
	while(~scanf("%d,%lf,%lf",&num,&kg,&m)){
		if(kg/(pow(m,2))>=25)printf("%d\n",num);
	}
	return 0;
}