#include <iostream>
#include <iomanip>
#include <string>
#include <vector>
#include <algorithm>
#include <cmath>
#define shosu(x) fixed<<setprecision(x)
using namespace std;
int main(){
	int num;
	double wei,hig;
	char x;
	while(cin>>num>>x>>wei>>x>>hig){
		if(wei/(hig*hig)>=25) cout<<num<<endl;
	}
}