#include <bits/stdc++.h>
#define range(i,a,b) for(int (i)=(a);(i)<(b);(i)++)
#define rep(i,n) range(i,0,n)
using namespace std;

int main(void){
	int n;
	double h,w;
	char tmp;
	while(cin >> n >> tmp >> w >> tmp >> h){
		if(cin.eof()) break;
		double bmi=w/h/h;
		if(bmi >= 25.0) cout << n << endl;
	}
	return 0;
}