#include<iostream>

using namespace std;

struct student {
	int id;
	double weight;
	double height;
	char ch;
};

int main() {
	
	student a;
	while(cin >> a.id >> a.ch >> a.weight >> a.ch >> a.height) {
	
	if( a.weight / a.height / a.height >= 25.0)
		cout << a.id << "\n";
}
	return 0;
}
