#include<cstdio>
#include <iostream>
#include <sstream>
#include <iomanip>
#include <algorithm>
#include <cmath>
#include <string>
#include <vector>
#include <list>
#include <queue>
#include <stack>
#include <set>
#include <map>
#include <bitset>
#include <numeric>
#include <climits>
#include <cfloat>
using namespace std;
int main(){

    vector<int>a;
    while (1){
        int num;
        double weight,height;
        char c;
        cin >> num >> c >> weight >> c >> height;
        if(cin.eof()) break;
        double bmi;
        bmi = weight/(height*height);
        if(bmi>=25){
		a.push_back(num);
	}
     }
     if(a.size()==0) {cout<<"該当なし"<<endl;
     }else {
	  for(int i=0;i<a.size();i++){
		cout<<a[i]<<endl;
	   }
     }
}