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

int main()
{
  double w, h;
  int n;
  int c = 0;
  while (scanf("%d,%lf,%lf", &n, &w, &h) != EOF){
    if (w / h / h >= 25.0){
      cout << n << endl;
      c++;
    }
  }
  if (c == 0){
    cout << "????????????" << endl;
  }

  return 0;
}