#include<iostream>
#include<vector>

using namespace std;

int main(){
  int number;
  vector<int> BIGBMI;
  double weight, length, BMI;
  char c1, c2;

  while(cin >> number >> c1 >> weight >> c2 >> length){
    BMI = weight / (length * length);
    if(BMI >= 25)    
      BIGBMI.push_back(number);
  }

  for(vector<int>::size_type i=0; i != BIGBMI.size(); ++i)
    cout << BIGBMI[i] << endl;
  return 0;
}