#include <iostream>
#include <cmath>
using namespace std;

int main(void)
{
  double bmi;
  double height, weight;
  int num;
  int over_num[100];
  int i=0;
  char c, d;

  while(cin >> num >> c >> weight >> c >> height)
    {
      bmi = weight / (height * height);
      if(bmi >= 25.0) 
	{
	  over_num[i] = num;
	  i++;
	}
    }
  for(int j = 0 ; j < i ; j++)
    {
      cout << over_num[j] << endl;
    }
  return 0;
}