#include<functional>
#include<algorithm>
#include<iostream>
#include<utility>
#include<string>
#include<vector>
#include<cmath>
#include<stack>
#include<queue>
#include<deque>
#include<map>
#define rep(i,n) for(int i=0;i<n;i++)
#define loop(i,x,n) for(int i=x;i<n;i++)
#define all(v) (v).begin(),(v).end()
#define pf push_front
#define pb push_back
#define int long long
using namespace std;
const int INF=1000000007;
int dx[4]={1,0,-1,0};
int dy[4]={0,1,0,-1};

signed main(){
  int s;
  double w,h;
  char t;
  vector<int> v;
  while(cin>>s>>t>>w>>t>>h){
    double BMI=w/(h*h);
    if(BMI>25){
      v.pb(s);
    }
  }
  rep(i,v.size()){
    cout<<v[i]<<endl;
  }
  return 0;
}