#include <iostream>
using namespace std;

int main(){
	int count = 0;
	int id;
	char c;
	double weight, tall;
	while(cin >> id >> c >> weight >> c >> tall){
		if(weight >= 25 * tall * tall){
			count++;
			cout << id << endl;
		}
	}
	if(count == 0) cout << "ツ該ツ督鳴づ按つオ" << endl;
	return 0;
}