#include<iostream>
#include<cstdio>
#include<cmath>
#include<vector>
#include<string>
#include<queue>
#include<map>
#include<stack>
#include<cstdlib>
#include<cstring>
#include<algorithm>
#include<sstream>


#define reps(i,f,n) for(int i = f; i < int(n); i++)
#define rep(i,n) reps(i,0,n)

#define PII pair<int,int>
#define PP pair< int,PII >


using namespace std;

int main(){
	
	int num;
	double w,h;
	
	while(scanf("%d,%lf,%lf", &num, &w, &h)!=EOF){
		if(25.0*h*h <= w){
			printf("%d\n", num);
		}
	}
	return 0;
}