#include <iostream>
#include <string>
#include <algorithm>
#include <cstdio>
#include <math.h>
using namespace std;

int main()
{
	int gakuban,ctr=0;;
	double tai,si;
	while(scanf("%d,%lf,%lf",&gakuban,&tai,&si) != EOF){
	//	scanf("%d,%f,%f",&gakuban,&tai,&si);
		double bmi = tai/(si*si);
		if(bmi >= 25){
			cout << gakuban << endl;
			++ctr;
		}
	}
	if(!ctr)	cout << "該当なし" << endl;
}