#include <iostream>
#include <cstdio>
using namespace std;
int main(void){
	int num;
	double w,h;
	while(scanf("%d,%lf,%lf",&num,&w,&h) != EOF){
		if(w/(h*h)>=25.0) cout << num << "\n";
	}
	return 0;
}