#include<iostream>
#include<utility>
using namespace std;

int main(){
	int num;
	char c;
	double w, h, bmi;
	pair<int, double> p;
	while(cin >> num >> c >> w >> c >> h){
		bmi = w / (h*h);
		p.first = num;
		p.second = bmi;

		if(p.second >= 25) cout << p.first << endl;
	}
}