#include<iostream>
using namespace std;


double w, h;
bool BMI() {
	if (w / (h * h) >= 25) {
		return true;
	}
	else {
		return false;
	}

}

int main() {
	int s;
	char a, b;
	while (cin >> s >> a >> w >> b >> h ) {
		if (BMI()) {
			cout << s << endl;
		}
	}
}
