#include <iostream>
using namespace std;

int main() {
  int num,number[10000],t=0;
  double weight,height,BMI[10000];
  while(scanf("%d,%lf,%lf",&num,&weight,&height) == 3) {
    BMI[t] = weight / (height * height);
    number[t] = num;
    t++;
  }
  for(int i=0;i<t;i++) {
    if(BMI[i] >= 25) {
      cout << number[i] <<endl;
    }
  }
}