#include<iostream>
#include<stdio.h>
using namespace std;
double BMI(double Kg,double m){
  double bmi;
  bmi = Kg / (m * m);
  return bmi;
}

int main(){
  double Kg,m;
  int student;
  while(scanf("%d,%lf,%lf",&student,&Kg,&m)){
    if(BMI(Kg,m) >= 25){
      cout << student << endl;
    }
  }
}