#include <iostream>
#include <algorithm>
#include <cassert>
#include <cctype>
#include <cstdio>
#include <math.h>
#include <map>
#include <queue>
#include <string>
using namespace std;

int n;
double w,h;

int main(){
	int flag=0;
	while(scanf("%d,%lf,%lf",&n,&w,&h)!=EOF){
		if(w/h/h>=25){cout<<n<<endl;flag=1;}
	}
	if(flag==0)cout<<"ツ該ツ督鳴づ按つオ"<<endl;
}