#include <iostream>
#include <stdio.h>
#include <vector>
using namespace std;

int main() {
    vector<int> num;
	int n;
	double w,h;
	while(scanf("%d,%lf,%lf",&n,&w,&h)!=EOF) if (w/(h*h)>=25) num.push_back(n);
	if (num.size()>0) for (n=0;n<num.size();n++) cout << num[n] << endl;
	else cout << "該当なし" << endl;
	return 0;
}