#include <cstdio>
#include <iostream>

using namespace std;

int main() {

	int num;
	double w, h;

	while(scanf("%d, %lf, %lf", &num, &w, &h)!=EOF)  {
		if(w/(h*h)>=25)
			cout << num << endl;
	}

	return 0;

}