#include<iostream>

using namespace std;

int main(void) {
  int id;
  char c;
  double weight;
  double height;

  while(cin >> id >> c) {
    cin >> weight >> c;
    cin >> height;

    double bmi = weight / (height * height);
    if(bmi >= 25) {
      cout << id << endl;
    }
  }
  return 0;
}