#include <stdio.h>
#include <algorithm>
#include <math.h>

using namespace std;


int main(){

	int id;
	double weight,height;

	while(scanf("%d,%lf,%lf",&id,&weight,&height)!=EOF){
		if((weight/(height*height)) >= 25.0){
			printf("%d\n",id);
		}
	}
	return 0;
}

