#include <bits/stdc++.h>

using namespace std;
using ll = long long;
using pii = pair<int, int>;

int main() {
  cin.tie(0);
  ios_base::sync_with_stdio(false);
  cout << fixed << setprecision(10);
  
  int s;
  double w, h;
  char c;
  while (cin >> s >> c >> w >> c >> h) {
    double bmi = w / (h * h);
    if (bmi - 25 > -1e-10) cout << s << endl;
  }

  return 0;
}
