
#include <iostream>
#include <iomanip>
#include <algorithm>
#include <string>
#include <vector>
#include <set>
#include <map>
using namespace std;

int main() {
	int s;
	double w, h;
	char a;
	while (cin >> s >> a >> w >> a >> h) {
		if (w / h / h >= 25.0) {
			cout << s << endl;
		}
	}
}