#include <iostream>
#include <iomanip>
#include <algorithm>
#include <vector>
#include <stack>
#include <queue>
#include <map>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cmath>

using namespace std;

int main() {
	int no;
	double w, h;
	while (scanf("%d,%lf,%lf", &no, &w, &h) != EOF) {
		if ((w / pow(h, 2)) >= 25.0)
			cout << no << endl;
	}
	return 0;
}