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

int main(){
    int N;
	double W,H;
	while(~scanf("%d,%lf,%lf",&N,&W,&H)){
		if(W/(H*H)>=25) printf("%d\n",N);
	}
    return 0;
}