#include <bits/stdc++.h>
using namespace std;

int main(){
  int num;
  double weight, height;
  char ch;
  while (cin >> num >> ch >> weight >> ch >> height) {
    double bmi = weight / (height * height);
    if (bmi >= 25.0)
    cout << num << endl;
  }
}

