#include <iostream>
using namespace std;

#define SAFE_DELETE( x ) { if ( x ){ delete x; x = NULL; } }

struct tCell{
	tCell() : x( 0 ), prev( NULL ), next( NULL ){}
	int x;
	tCell *prev, *next;
};

class MyArray{
public:
	MyArray() : mSize( 0 ), head( NULL ), tail( NULL ){
		head = new tCell;
		tail = new tCell;
		head->next = tail;
		tail->prev = head;
	}
	~MyArray(){
		for ( int i = mSize; i > 0; --i ){
			tCell* it = tail->prev;
			it->prev->next = it->next;
			it->next->prev = it->prev;
			SAFE_DELETE( it );
		}
		mSize = 0;
		SAFE_DELETE( tail );
		SAFE_DELETE( head );
	}
	void pushBack( int x ){
		tCell* it = new tCell;
		it->x = x;
		it->prev = tail->prev;
		it->next = tail;
		it->prev->next = it;
		it->next->prev = it;
		++mSize;
	}
	int size(){ return mSize; }

	int operator[]( int index ){
		tCell* it = head->next;
		for ( int i = 0; i < index; ++i ){
			it = it->next;
		}
		return it->x;
	}

private:
	int mSize;
	tCell *head, *tail;
};

int main(){
	int number;
	double weight, height;
	char c;
	MyArray list;

	while ( cin >> number >> c >> weight >> c >> height ){
		if ( ( weight / ( height * height ) ) >= 25.0 ){
			list.pushBack( number );
		}
	}

	for ( int i = 0; i < list.size(); ++i ){
		cout << list[ i ] << endl;
	}
	if ( !list.size() ){
		cout << "ツ該ツ督鳴づ按つオ" << endl;
	}

	return 0;
}