#include<bits/stdc++.h>
#define _ ios_base::sync_with_stdio(0);cin.tie(0);
#define REP(i,n) for(int i=0;i<(int)(n);i++)

using namespace std;
const double BMI_OVER=25.0;
typedef long double ld;
int main(){ _;
  int id;
  ld weight,height;
  while(scanf("%d,%Lf,%Lf",&id,&weight,&height)!=-1){
    if(weight/(height*height)>=BMI_OVER)
      cout<<id<<endl;
  }
}